[plug] persuading pump --status to print reserved/custom options?

Anthony J. Breeds-Taurima tony at cantech.net.au
Mon Oct 21 14:42:23 WST 2002


On Mon, 21 Oct 2002, Craig Ringer wrote:

> > Anybody have any idea how to get pump, when called with --status, to 
> > print out custom DHCP options like option-128 - option-254 (reserved for 
> > private use)
> 
> Sorry for the reply-to-self but in desparation I did an "apt-get source 
> pump" and had a quick look over the source. From my (limited) 
> understanding of C, looks like it doesn't understand any DHCP options 
> other than those it prints, and doesn't even accept them. *sigh*.
> 
> So it looks like time for me to sit down this evening and see if I can 
> modify pump to handle the options I want. If anybody has already done 
> this or (even better) can tell me I'm being an idiot and don't need to 
> modify pump, now would be a _wonderful_ time to speak up.

Um what about dhclient instead of pump?  Might save you some coding time.

Yours Tony

   Jan 22-25 2003           Linux.Conf.AU            http://linux.conf.au/
		  The Australian Linux Technical Conference!



More information about the plug mailing list