diff options
author | Neale Ranns <nranns@cisco.com> | 2016-12-01 17:03:25 +0000 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-12-05 18:43:24 +0000 |
commit | 86fb04db3ec3979f20111bf4dfa945a1fa2275d4 (patch) | |
tree | d25083cd1b9ec40b4c4490d2b337252fcd819b98 | |
parent | 6d963c272cb59cbcb41a2f2c7e01834a80fad683 (diff) |
All mcast and All class E have /4 not /8 subnet masks
Change-Id: I29e54014f43f0b0ce087380b2318fe623d879204
Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r-- | vnet/vnet/fib/ip4_fib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vnet/vnet/fib/ip4_fib.c b/vnet/vnet/fib/ip4_fib.c index 81cac170..f6ebce00 100644 --- a/vnet/vnet/fib/ip4_fib.c +++ b/vnet/vnet/fib/ip4_fib.c @@ -53,14 +53,14 @@ static const ip4_fib_table_special_prefix_t ip4_specials[] = { }, { /* - * 240.0.0.0/8 + * 240.0.0.0/4 * drop class E */ .ift_prefix = { .fp_addr = { .ip4.data_u32 = 0xf0000000, }, - .fp_len = 8, + .fp_len = 4, .fp_proto = FIB_PROTOCOL_IP4, }, .ift_source = FIB_SOURCE_SPECIAL, @@ -69,14 +69,14 @@ static const ip4_fib_table_special_prefix_t ip4_specials[] = { }, { /* - * 224.0.0.0/8 + * 224.0.0.0/4 * drop all mcast */ .ift_prefix = { .fp_addr = { .ip4.data_u32 = 0xe0000000, }, - .fp_len = 8, + .fp_len = 4, .fp_proto = FIB_PROTOCOL_IP4, }, .ift_source = FIB_SOURCE_SPECIAL, |