find netmask for offered lease in dhclient code

Olivier Nicole olivier.nicole at
Mon Jul 15 09:13:04 UTC 2013


> i want to change dhclient code and customize it. in order to do that, i
> need to know the netmask for offered ip. i see code and found that struct
> client_lease  *offered_leases, keeps information about offered lease such
> as ip address but this structure hasn't any field about netmask. i don't
> know how i can find the netmak for this offered ip address.

According to wireshark, it's in option t=1, l=4


> any one has traced dhclient code before? how can i see the netmask for
> offered ip?
> thanks in advance,
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list