Package: dhcp-client
Version: 2.0pl5-19.4
Severity: normal
Tags: patch

The default route is configured with the wrong interface when a route to
the given gateway is already present. For example, a laptop with
wireless and wired connections to the same subnet would keep the
wireless network as the default gateway when the wired network is
brought up.

--- dhclient-script.old     2006-04-29 20:55:55.000000000 -0500
+++ dhclient-script         2006-04-29 20:56:23.000000000 -0500
@@ -153,7 +153,7 @@
       route add -net $new_network_number $new_subnet_arg dev $interface
     fi
     for router in $new_routers; do
-      route add default gw $router
+      route add default gw $router dev $interface
     done
   fi
   if [ x$new_ip_address != x$alias_ip_address ] && [ x$alias_ip_address != x ];


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16+g1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dhcp-client depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

dhcp-client recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to