From a304814c80b3be81e046f94c4b1e070ea237a6f8 Mon Sep 17 00:00:00 2001 From: Christof Schulze Date: Fri, 16 Feb 2018 23:12:38 +0100 Subject: [PATCH] gluon-l3roamd: set gc_thresh for ipv4 and ipv6 to obtain DELNEIGH messages --- package/gluon-l3roamd/files/etc/init.d/gluon-l3roamd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gluon-l3roamd/files/etc/init.d/gluon-l3roamd b/package/gluon-l3roamd/files/etc/init.d/gluon-l3roamd index d40e1a18..c64f3b1d 100755 --- a/package/gluon-l3roamd/files/etc/init.d/gluon-l3roamd +++ b/package/gluon-l3roamd/files/etc/init.d/gluon-l3roamd @@ -10,6 +10,8 @@ start_service () { for dev in $(gluon-list-mesh-interfaces); do echo " -m $dev"; done [ "$(ifstatus local_node | jsonfilter -e '@.up')" = 'true' ] && echo ' -i local-node' ) + /sbin/sysctl -w net.ipv6.neigh.default.gc_thresh1=2 + /sbin/sysctl -w net.ipv4.neigh.default.gc_thresh1=2 procd_open_instance procd_set_param stdout 1