summaryrefslogtreecommitdiff
path: root/proto/babel/packets.c
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-06-19 14:32:16 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-06-19 14:32:16 +0200
commit1ef23f05ee00394e6a2748f658b73c20d3ff7c45 (patch)
tree2c23f431e18d7b0b27da6734f6c12a2428c09631 /proto/babel/packets.c
parent13c0be19d3d2acc9c1636bbab9222aabdf27d7ac (diff)
parentcaa9d03d65ce827ce536d54b26988e70767e032f (diff)
Merge branch 'int-new' into HEAD
Diffstat (limited to 'proto/babel/packets.c')
-rw-r--r--proto/babel/packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/babel/packets.c b/proto/babel/packets.c
index 59678678..d4ecf649 100644
--- a/proto/babel/packets.c
+++ b/proto/babel/packets.c
@@ -616,7 +616,7 @@ babel_read_update(struct babel_tlv *hdr, union babel_msg *m,
/* Update must have next hop, unless it is retraction */
if (ipa_zero(state->next_hop_ip4) && (msg->metric != BABEL_INFINITY))
- return PARSE_ERROR;
+ return PARSE_IGNORE;
/* Merge saved prefix and received prefix parts */
memcpy(buf, state->def_ip4_prefix, tlv->omitted);