Commit 9beb9bd5 authored by Bernd Paysan's avatar Bernd Paysan

If netlink permission denied, just don't run netlink task

parent a0d06118
......@@ -125,7 +125,7 @@ event: :>addr-changed ( -- )
netlink( 2dup address? IF 2dup .rtaddr THEN )
address? check-preferred? or UNTIL ;
: netlink-loop ( -- )
netlink-sock 0= IF get-netlink THEN
netlink-sock 0= IF ['] get-netlink catch -525 = ?EXIT THEN
BEGIN
wait-for-address !!0depth!!
new-preferred? IF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment