aboutgitcodebugslistschat
path: root/ndp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ndp.c')
-rw-r--r--ndp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ndp.c b/ndp.c
index c04df6a..3487e51 100644
--- a/ndp.c
+++ b/ndp.c
@@ -100,6 +100,7 @@ int ndp(struct ctx *c, struct ethhdr *eh, size_t len)
info("NDP: received RS, sending RA");
ihr->icmp6_type = RA;
ihr->icmp6_code = 0;
+ ihr->icmp6_hop_limit = 255;
ihr->icmp6_rt_lifetime = htons(9000);
ihr->icmp6_addrconf_managed = 1;