summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-06-20 18:45:17 +0200
committersmos <seth.mos@dds.nl>2012-06-20 18:45:17 +0200
commite4610069dec703e199828ce2e150acc555e4887e (patch)
treec8d77f3b0eae6d6ea4f77f809ebdb26585b682bb /etc/inc/interfaces.inc
parent27746f772b13ace923441371d9ee447c20df2fda (diff)
downloadpfsense-e4610069dec703e199828ce2e150acc555e4887e.zip
pfsense-e4610069dec703e199828ce2e150acc555e4887e.tar.gz
Make sure to skip "unexpected" RA messages from other interfaces, we don't want those.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 14df981..0125359 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3356,7 +3356,7 @@ function interface_dhcpv6_configure($interface = "wan") {
exec("/sbin/rtsol -d {$wanif} 2>&1", $out, $ret);
if(!empty($out)) {
foreach($out as $line) {
- if(stristr($line, "received")) {
+ if((stristr($line, "received")) && (!stristr($line, "unexpected"))) {
$parts = explode(" ", $line);
if(is_ipaddrv6($parts[3])) {
log_error("Found IPv6 default gateway '{$parts[3]}' by RA.");
OpenPOWER on IntegriCloud