summaryrefslogtreecommitdiff
path: root/setup-interfaces.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-interfaces.in')
-rwxr-xr-xsetup-interfaces.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in
index 544a43e..e5e7fc7 100755
--- a/setup-interfaces.in
+++ b/setup-interfaces.in
@@ -122,7 +122,7 @@ config_iface() {
fi
if [ -r "$iface.bridge_ports" ]; then
- bridge_ports=$(sed 's/\n/ /' $iface.bridge_ports)
+ bridge_ports=$(echo $(cat $iface.bridge_ports))
echo "bridge_ports=\"$bridge_ports\"" >> $conf
fi
# use ipcalc to validate the address. we do accept /mask