From f1d08a9205bf8396cd872d67c5671adfa09297a2 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 23 Oct 2018 08:39:33 +0200 Subject: [PATCH] interfaces: annotate review issue by @adschellevis --- src/etc/inc/interfaces.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index c8891cef1..7339c294f 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -1088,6 +1088,12 @@ function interface_bring_down($interface = "wan", $ifacecfg = false) } if (does_interface_exist($realifv6)) { + /* + * XXX So we flush ARP on IPv6 here! But why? + * + * Either we want to flush NDP or both ARP + * and NDP, but then the same goes for IPv4. + */ $arpflush[$realifv6] = 1; if (!empty(trim(@file_get_contents("/tmp/{$realifv6}_routerv6")))) {