diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6 index cc33df51f..3bb90e68b 100755 --- a/src/etc/rc.newwanipv6 +++ b/src/etc/rc.newwanipv6 @@ -106,7 +106,7 @@ switch ($config['interfaces'][$interface]['ipaddrv6'] ?? 'none') { break; default: /* flush SLAAC addressing in order to make any of our own addresses preferred */ - shell_safe('/usr/local/sbin/ifctl -i %s -f', $realif); + shell_safe('/usr/local/sbin/ifctl -i %s -f', $device); break; }