[pkg-dhcp-devel] Bug#677985: Bug#677985: dhclient doesn't set subnet correct on kfreebsd

Andrew Pollock apollock at debian.org
Tue Jun 26 15:52:30 UTC 2012


On Tue, Jun 26, 2012 at 01:28:42PM +0200, Christoph Egger wrote:
> Christoph Egger <christoph at debian.org> writes:
> > Andrew Pollock <apollock at debian.org> writes:
> >> On Mon, Jun 18, 2012 at 02:54:06PM +0200, Christoph Egger wrote:
> >>> >   dhclient fails to correctly specify the netmask on kfreebsd
> >>> > resulting in a wrong routing for the local network. set -x from
> >>> > dhclient-script attached.
> >>> 
> >>> Note: as a result I get a /24 network set here while dhcp should set a /23
> >>> 
> >>
> >> Can you please tell me if doing
> >>
> >> perl -pi -e 's/new_netmask_arg/new_subnet_mask/' /sbin/dhclient-script
> >
> > no, I need to write netmask right before the $new_subnet_mask. before
> > the broadcast part the `broadcast' keyword is probably necessary as well
> > if a extra broadcast address is needed
> 
> Hmm reading the script. probably this part of #645502 should be reverted
> as I guess the other *_arg variables are also not available on
> isc-dhcp-client in Debian. Adding rmh into Cc for comments.

Please advise as soon as possible. I'm making an upload of 4.2.4 before the
freeze deadline, and I'd like to fix this bug in that upload.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20120626/6d9e9562/attachment.pgp>


More information about the pkg-dhcp-devel mailing list