All mcast and All class E have /4 not /8 subnet masks 54/4054/2
authorNeale Ranns <nranns@cisco.com>
Thu, 1 Dec 2016 17:03:25 +0000 (17:03 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 5 Dec 2016 18:43:24 +0000 (18:43 +0000)
Change-Id: I29e54014f43f0b0ce087380b2318fe623d879204
Signed-off-by: Neale Ranns <nranns@cisco.com>
vnet/vnet/fib/ip4_fib.c

index 81cac17..f6ebce0 100644 (file)
@@ -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,