From eaf8791d8a7ab2038e720aff0cc4ab214b75e2fc Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 12 Nov 2018 08:52:12 +0100 Subject: [PATCH] interfaces: correct comment --- src/etc/inc/interfaces.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 77c6cd30b..7a21be6ab 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -4046,7 +4046,7 @@ function get_interface_subnet($interface = 'wan') if (does_interface_exist($realif)) { $ifinfo = legacy_get_interface_addresses($realif); if (isset($ifinfo['subnetbits'])) { - /* return first network found */ + /* return first subnet size found */ return $ifinfo['subnetbits']; } } @@ -4069,7 +4069,7 @@ function get_interface_subnetv6($interface = 'wan') if (does_interface_exist($realif)) { $ifinfo = legacy_get_interface_addresses($realif); if (isset($ifinfo['subnetbits6'])) { - /* return first network found */ + /* return first subnet size found */ return $ifinfo['subnetbits6']; } }