find netmask for offered lease in dhclient code
Olivier Nicole
olivier.nicole at cs.ait.ac.th
Mon Jul 15 09:13:04 UTC 2013
Hi,
> 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
Olivier
> any one has traced dhclient code before? how can i see the netmask for
> offered ip?
>
> thanks in advance,
> SAM
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list