summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/networking
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdconfig/networking')
-rwxr-xr-xusr.sbin/bsdconfig/networking/devices3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/networking/devices b/usr.sbin/bsdconfig/networking/devices
index 7304a78..ae3136c 100755
--- a/usr.sbin/bsdconfig/networking/devices
+++ b/usr.sbin/bsdconfig/networking/devices
@@ -99,6 +99,7 @@ while :; do
# fallback to reading the active configuration if not configured in
# the rc.conf(5) file(s).
#
+ dhcp=
_ipaddr=
_netmask=
_ifconfig=$( f_sysrc_get ifconfig_$interface )
@@ -147,7 +148,7 @@ while :; do
# Block on user-configuration of the probed settings
f_dialog_menu_netdev_edit \
- $interface $_ipaddr $_netmask "$_options" $dhcp
+ "$interface" "$_ipaddr" "$_netmask" "$_options" $dhcp
# Return to root menu if above returns success
[ $? -eq $SUCCESS ] && break
OpenPOWER on IntegriCloud