Commit dbe72c16 authored by Mike Hibler's avatar Mike Hibler
Browse files

Formatting nits: gotta make those generated rc files look purdy!

parent 5ad5ab99
......@@ -837,7 +837,7 @@ sub doifconfig (;$)
$upcmds .= "$upline\n "
if (defined($upline));
$upcmds .= TMROUTECONFIG . " $inet up\n";
$upcmds .= TMROUTECONFIG . " $inet up\n ";
$downcmds .= TMROUTECONFIG . " $inet down\n ";
$downcmds .= "$downline\n "
......@@ -845,8 +845,8 @@ sub doifconfig (;$)
# There could be routes for each alias.
foreach my $alias (split(',', $aliases)) {
$upcmds .= TMROUTECONFIG . " $alias up\n";
$downcmds .= TMROUTECONFIG . " $alias down\n";
$upcmds .= TMROUTECONFIG . " $alias up\n ";
$downcmds .= TMROUTECONFIG . " $alias down\n ";
}
}
else {
......@@ -877,7 +877,7 @@ sub doifconfig (;$)
os_ifconfig_veth($iface, $inet, $mask, $id, $vmac,$rtabid);
$upcmds .= "$upline\n ";
$upcmds .= TMROUTECONFIG . " $inet up\n";
$upcmds .= TMROUTECONFIG . " $inet up\n ";
$downcmds .= TMROUTECONFIG . " $inet down\n ";
$downcmds .= "$downline\n "
......
......@@ -73,7 +73,7 @@ my $MKDB = "/usr/sbin/pwd_mkdb -p";
my $IFCONFIGBIN = "/sbin/ifconfig";
my $IFCONFIG = "$IFCONFIGBIN %s inet %s netmask %s %s %s";
my $IFALIAS = "$IFCONFIGBIN %s alias %s netmask 0xffffff00";
my $IFC_1000MBS = "media 1000baseSX";
my $IFC_1000MBS = "media 1000baseTX";
my $IFC_100MBS = "media 100baseTX";
my $IFC_10MBS = "media 10baseT/UTP";
my $IFC_FDUPLEX = "mediaopt full-duplex";
......@@ -162,7 +162,7 @@ sub os_ifconfig_line($$$$$$;$)
if ($aliases ne "") {
# Must do this first to avoid lo0 routes.
$uplines .= "\n".
$uplines .= "\n ".
"sysctl -w net.link.ether.inet.useloopback=0\n";
foreach my $alias (split(',', $aliases)) {
......
......@@ -837,7 +837,7 @@ sub doifconfig (;$)
$upcmds .= "$upline\n "
if (defined($upline));
$upcmds .= TMROUTECONFIG . " $inet up\n";
$upcmds .= TMROUTECONFIG . " $inet up\n ";
$downcmds .= TMROUTECONFIG . " $inet down\n ";
$downcmds .= "$downline\n "
......@@ -845,8 +845,8 @@ sub doifconfig (;$)
# There could be routes for each alias.
foreach my $alias (split(',', $aliases)) {
$upcmds .= TMROUTECONFIG . " $alias up\n";
$downcmds .= TMROUTECONFIG . " $alias down\n";
$upcmds .= TMROUTECONFIG . " $alias up\n ";
$downcmds .= TMROUTECONFIG . " $alias down\n ";
}
}
else {
......@@ -877,7 +877,7 @@ sub doifconfig (;$)
os_ifconfig_veth($iface, $inet, $mask, $id, $vmac,$rtabid);
$upcmds .= "$upline\n ";
$upcmds .= TMROUTECONFIG . " $inet up\n";
$upcmds .= TMROUTECONFIG . " $inet up\n ";
$downcmds .= TMROUTECONFIG . " $inet down\n ";
$downcmds .= "$downline\n "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment