Package: dhcp3-client
Version: 3.1.1-6
Severity: wishlist
Tags: patch

Hi,

The provided dhclient-script supports reading the IF_METRIC environment 
variable to set a metric to the route throught the default gateway, as 
specified if /etc/network/interfaces.

Unfortunately, although dhclient3 has IF_METRIC in its environment, it 
does not forward it to its dhclient-script child.

Here is a quick'n'dirty patch that makes dhclient3 forward all its IF_* 
environent variables to its dhclient-script child.


Cheers,

Nicolas Boullis


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (900, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dhcp3-client depends on:
ii  debconf [debconf-2.0] 1.5.24             Debian configuration management sy
ii  debianutils           2.30               Miscellaneous utilities specific t
ii  dhcp3-common          3.1.1-6            common files used by all the dhcp3
ii  libc6                 2.7-18             GNU C Library: Shared libraries

dhcp3-client recommends no packages.

Versions of packages dhcp3-client suggests:
pn  avahi-autoipd                 <none>     (no description available)
ii  resolvconf                    1.42       name server information handler

-- debconf information:
  dhcp3-client/dhclient-needs-restarting:
  dhcp3-client/dhclient-script_moved:

Attachment: dhcp3_3.1.1-6.patch.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Reply via email to