MFC r275199.

Correctly define constants.
This commit is contained in:
cy 2014-12-10 20:54:23 +00:00
parent 43c3b12592
commit fef6395777
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ static const struct optlist ipopts[20] = {
}; };
#ifdef USE_INET6 #ifdef USE_INET6
static struct optlist ip6exthdr[] = { static const struct optlist ip6exthdr[] = {
{ IPPROTO_HOPOPTS, 0x000001 }, { IPPROTO_HOPOPTS, 0x000001 },
{ IPPROTO_IPV6, 0x000002 }, { IPPROTO_IPV6, 0x000002 },
{ IPPROTO_ROUTING, 0x000004 }, { IPPROTO_ROUTING, 0x000004 },

View File

@ -112,7 +112,7 @@ static void ipf_frag_free __P((ipf_frag_softc_t *, ipfr_t *));
static frentry_t ipfr_block; static frentry_t ipfr_block;
ipftuneable_t ipf_tuneables[] = { const ipftuneable_t ipf_tuneables[] = {
{ { (void *)offsetof(ipf_frag_softc_t, ipfr_size) }, { { (void *)offsetof(ipf_frag_softc_t, ipfr_size) },
"frag_size", 1, 0x7fffffff, "frag_size", 1, 0x7fffffff,
stsizeof(ipf_frag_softc_t, ipfr_size), stsizeof(ipf_frag_softc_t, ipfr_size),