diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-03-23 19:31:10 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-05-05 09:21:29 +0100 |
commit | 0120cad84ea4dddd0c1501ecb41f2a082ea1e7d9 (patch) | |
tree | 9f42b8ad78ed39d5c5b79c5782e451c4a61680c3 /src | |
parent | 8fdddd51433ede9f8ce5846e41f16a03d8dddad0 (diff) | |
download | pfsense-0120cad84ea4dddd0c1501ecb41f2a082ea1e7d9.zip pfsense-0120cad84ea4dddd0c1501ecb41f2a082ea1e7d9.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
Diffstat (limited to 'src')
-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 cefa7ab..088945a 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); |