[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

Christoph Egger <christoph@debian.org> writes:
> Andrew Pollock <apollock@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.



Reply to: