diff options
Diffstat (limited to 'src/libfreeswan/pfkey_v2_parse.c')
-rw-r--r-- | src/libfreeswan/pfkey_v2_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libfreeswan/pfkey_v2_parse.c b/src/libfreeswan/pfkey_v2_parse.c index a143003b3..8fec9d119 100644 --- a/src/libfreeswan/pfkey_v2_parse.c +++ b/src/libfreeswan/pfkey_v2_parse.c @@ -40,11 +40,11 @@ char pfkey_v2_parse_c_version[] = ""; #define SENDERR(_x) do { error = -(_x); goto errlab; } while (0) -struct satype_tbl { +static struct { uint8_t proto; uint8_t satype; char* name; -} static satype_tbl[] = { +} satype_tbl[] = { { SA_ESP, SADB_SATYPE_ESP, "ESP" }, { SA_AH, SADB_SATYPE_AH, "AH" }, { SA_IPIP, SADB_X_SATYPE_IPIP, "IPIP" }, |