From 86fb04db3ec3979f20111bf4dfa945a1fa2275d4 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 1 Dec 2016 17:03:25 +0000 Subject: All mcast and All class E have /4 not /8 subnet masks Change-Id: I29e54014f43f0b0ce087380b2318fe623d879204 Signed-off-by: Neale Ranns --- vnet/vnet/fib/ip4_fib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vnet/vnet/fib/ip4_fib.c b/vnet/vnet/fib/ip4_fib.c index 81cac170507..f6ebce00837 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, -- cgit 1.2.3-korg