Skip to content

Commit

Permalink
interfaces: silly-willy-wlan-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jul 13, 2017
1 parent 865b273 commit 5cb149d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/interfaces.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ function interface_wireless_clone($realif, $wlcfg)
}

log_error(sprintf('Cloning new wireless interface %s', $realif));
exec("/sbin/ifconfig wlan create name {$realif} wlandev {$baseif} {$mode} bssid 2>&1", $out, $ret);
exec("/sbin/ifconfig wlan create wlandev {$baseif} {$mode} bssid name {$realif} 2>&1", $out, $ret);
if ($ret <> 0) {
log_error(sprintf('Failed to clone interface %s with error code %s, output %s', $baseif, $ret, $out[0]));
return false;
Expand Down

1 comment on commit 5cb149d

@fichtner
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply this patch on 17.7-RC1 from the root console using:

# opnsense-patch 5cb149d

Please sign in to comment.