From 4e0548665d50db273cceddb0210d5be9d25688c1 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Thu, 10 Nov 2016 12:54:07 -0200 Subject: [PATCH] ripd: ignore request for RTEs from unknown address-families Fixes IxANVL RIP test 6.5. Signed-off-by: Renato Westphal --- ripd/ripd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ripd/ripd.c b/ripd/ripd.c index ce7a6d1e99..d84f863de2 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -1687,6 +1687,9 @@ rip_request_process (struct rip_packet *packet, int size, } else { + if (ntohs (rte->family) != AF_INET) + return; + /* Examine the list of RTEs in the Request one by one. For each entry, look up the destination in the router's routing database and, if there is a route, put that route's metric in -- 2.39.5