MFC r275199.
Correctly define constants.
This commit is contained in:
parent
43c3b12592
commit
fef6395777
@ -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 },
|
||||||
|
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user