From acc68ffad2fcc5f270964a51f9af84e969fa2d4f Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 21 Feb 2013 08:43:28 -0300 Subject: find_interface_ipv6 should return the first configured address, not the last one --- etc/inc/interfaces.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/inc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 3cd782d..d3d21a1 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -4181,6 +4181,7 @@ function find_interface_ipv6($interface, $flush = false) } else { $ifinfo['subnetbitsv6'] = $parts[3]; } + break; } } } -- cgit v1.1