Package: dhcp3-client-udeb
Severity: important
Tags: patch

In GNU/kFreeBSD, /sbin/dhclient-script fails to set the netmask provided by
the DHCP server, leaving the kernel to supply a default netmask.  When using
uncommon netmasks, this has the tendency to break networking.  If booting
mini.iso, this prevents the installation from continuing, unless network
settings are specified manually.

--- dhclient-script.orig        2010-01-10 07:36:38.000000000 -0500
+++ dhclient-script     2010-06-28 13:06:38.327115807 -0400
@@ -77,7 +77,7 @@
         if [ -z "$old_ip_address" ] || [ "$old_ip_address" != 
"$new_ip_address" ] || \
             [ "$reason" = "BOUND" ] || [ "$reason" = "REBOOT" ]; then
 
-           ifconfig $interface inet $new_ip_address $new_subnet_arg \
+           ifconfig $interface inet ${new_ip_address}${new_mask} \
                $new_broadcast_arg $medium $mtu_arg
            route add $new_ip_address 127.1 $metric_arg >/dev/null 2>&1 || true
            for router in $new_routers; do


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.9 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to