Date: Mon, 15 Jul 2013 13:32:12 +0430 From: s m <sam.gh1986@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: find netmask for offered lease in dhclient code Message-ID: <CAA_1SgFfZGn06kL_m8fvOA67TszjU5A8F55X_xuiSL8-xtmnng@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
hello all, 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. any one has traced dhclient code before? how can i see the netmask for offered ip? thanks in advance, SAM
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA_1SgFfZGn06kL_m8fvOA67TszjU5A8F55X_xuiSL8-xtmnng>