summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripd/ripd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index fb3d574aaa..9167a4fa70 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -1171,6 +1171,12 @@ static void rip_response_process(struct rip_packet *packet, int size,
continue;
}
+ if (packet->version == RIPv1 && rte->tag != 0) {
+ zlog_warn("RIPv1 reserved field is nonzero: %d",
+ ntohs(rte->tag));
+ continue;
+ }
+
/* - is the destination address valid (e.g., unicast; not net 0
or 127) */
if (!rip_destination_check(rte->prefix)) {