From f8802477c3c115e3bc8bb9b45ff36651dca1013c Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 24 Oct 2018 15:39:10 +0200 Subject: [PATCH] firewall: annotate fix for IPv6 :0 comment --- src/opnsense/mvc/app/library/OPNsense/Firewall/SNatRule.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opnsense/mvc/app/library/OPNsense/Firewall/SNatRule.php b/src/opnsense/mvc/app/library/OPNsense/Firewall/SNatRule.php index b18c86f65..29ebcd1b5 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Firewall/SNatRule.php +++ b/src/opnsense/mvc/app/library/OPNsense/Firewall/SNatRule.php @@ -78,6 +78,8 @@ class SNatRule extends Rule * ":0" does not work for IPv6, but NAT is not relevant there anyway. * The reason for this is that it selects the first address which is * the link local address so the real global address is not found. + * + * Also see: https://reviews.freebsd.org/D17633 */ $rule['target'] = "({$interf_settings['if']}:0)"; }