gluon-l3roamd: set gc_thresh for ipv4 and ipv6 to obtain DELNEIGH messages

This commit is contained in:
Christof Schulze 2018-02-16 23:12:38 +01:00 committed by Andreas Ziegler
parent d17cef06a2
commit a304814c80
1 changed files with 2 additions and 0 deletions

View File

@ -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