diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-03-23 19:31:10 +0000 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-20 11:41:50 -0300 |
commit | c8009eee917bdc206aad847460435de8d4a25cb9 (patch) | |
tree | 7b248be03530fa2ffce0713a11ed7ca35041448e | |
parent | 54f0c988a1d24d042b8bc5e9dba1f15804dbc477 (diff) | |
download | pfsense-c8009eee917bdc206aad847460435de8d4a25cb9.zip pfsense-c8009eee917bdc206aad847460435de8d4a25cb9.tar.gz |
Remove calls which rely in uninitizalized vars
After analyzing implementations in RELENG_2_1 and RELENG_2_2, this code seems to be a left over after code rewrite
Also remove a trailing space from comment
(cherry picked from commit 0120cad84ea4dddd0c1501ecb41f2a082ea1e7d9)
-rw-r--r-- | src/etc/inc/interfaces.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 861eeac..d7596b3 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -798,8 +798,6 @@ function interface_lagg_configure($lagg) { hardware_offloading_applyflags($member); mwexec("/sbin/ifconfig " . escapeshellarg($laggif) . " laggport " . escapeshellarg($member)); } - pfSense_interface_capabilities($laggif, -$flags_off); - pfSense_interface_capabilities($laggif, $flags_on); mwexec("/sbin/ifconfig {$laggif} laggproto " . escapeshellarg($lagg['proto'])); @@ -1181,7 +1179,7 @@ function interfaces_configure() { log_error(sprintf(gettext("Configuring %s"), $ifname)); } - // bridge interface needs reconfigure, then re-add VIPs, to ensure find_interface_ip is correct. + // bridge interface needs reconfigure, then re-add VIPs, to ensure find_interface_ip is correct. // redmine #3997 interface_reconfigure($if, $reload); interfaces_vips_configure($if); |