From: Roy Marples Date: Wed, 25 Jan 2012 17:30:41 +0000 (+0000) Subject: Fix RA state detection X-Git-Tag: v5.5.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46132f64e2075ffc4da50c8f341aacaaca70822;p=thirdparty%2Fdhcpcd.git Fix RA state detection --- diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 52a1e18c..8e594709 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -16,7 +16,7 @@ BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC) if_up=true;; PREINIT|EXPIRE|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP) if_down=true;; esac -[ "$reason" = ROUTERADVERT -a "$ra_count" != 0 ] && if_up=true +[ "$reason" = ROUTERADVERT -a "$new_ra_count" != 0 ] && if_up=true # Ensure that all arguments are unique uniqify()