summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlosg <carlosg>2004-12-14 01:21:25 +0000
committercarlosg <carlosg>2004-12-14 01:21:25 +0000
commit21d1dbcae2b779291061fa9491cdb59688491278 (patch)
tree3b77171378f1dca430584f36b456f8a8114ad135
parent2d27e0e4d45ce505e0d894be0db29a51565d216e (diff)
2004-12-14 Carlos Garnacho Parro <carlosg@gnome.org>
* network.pl.in: improved old profiles fixing, fixed plip interfaces enabling, accept other characters than numbers in dial prefix, other code improvements
-rw-r--r--ChangeLog6
-rw-r--r--network.pl.in8
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e261c1..214933e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-14 Carlos Garnacho Parro <carlosg@gnome.org>
+
+ * network.pl.in: improved old profiles fixing, fixed plip interfaces
+ enabling, accept other characters than numbers in dial prefix, other
+ code improvements
+
2004-12-06 Carlos Garnacho Parro <carlosg@gnome.org>
* network-conf.in (fixdown_profile_interface_format),
diff --git a/network.pl.in b/network.pl.in
index 3c2f376..b25c6f4 100644
--- a/network.pl.in
+++ b/network.pl.in
@@ -164,7 +164,7 @@ sub gst_network_enable_iface
$command .= " $dev";
$command .= " $address" if ($address);
$command .= " netmask $netmask" if ($netmask);
- $command .= " remote_address $remote_address" if ($remote_address);
+ $command .= " dstaddr $remote_address" if ($remote_address);
$command .= " up";
}
@@ -256,7 +256,7 @@ sub gst_network_enable_iface_with_config
{
# if it's a wireless interface, put first the essid
&gst_network_config_wireless ($hash, $dev, $command_iwconfig, $command_ifconfig);
- $ret = &gst_network_enable_iface ($hash, $dev, $command_iwconfig, $command_dhclient);
+ $ret = &gst_network_enable_iface ($hash, $dev, $command_ifconfig, $command_dhclient);
}
}
@@ -4640,8 +4640,8 @@ sub gst_network_get_interface_parse_table
[ "persist", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_kw, PPP_OPTIONS, "persist" ]],
[ "serial_escapechars", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_split_first_str, PPP_OPTIONS, "escape", "[ \t]+" ]],
[ "serial_hwctl", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_kw, PPP_OPTIONS, "crtscts" ]],
- [ "external_line", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_chat, CHAT, "atd[^0-9]*([0-9]*)[wW]" ]],
- [ "phone_number", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_chat, CHAT, "atd.*[ptw]([0-9, -]+)" ]],
+ [ "external_line", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_chat, CHAT, "atd[^0-9]([0-9*#]*)[wW]" ]],
+ [ "phone_number", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_chat, CHAT, "atd.*[ptwW]([0-9, -]+)" ]],
[ "dial_command", \&gst_network_check_iface, [IFACE, "ppp", \&gst_parse_chat, CHAT, "(atd[tp])[0-9, -w]+" ]],
[ "volume", \&gst_network_check_iface, [IFACE, "ppp", \&gst_network_get_modem_volume, CHAT ]],
# [ "enabled", \&gst_network_interface_active, IFACE,