Re: Please make ifref default to name

Steve Shipway <[email protected]> Sat, 26 May 2012 00:45:07 +0000
Newsgroups gmane.network.mrtg.devel
Message-ID <7294716191A1E142B80615ED2C633BCA01336D12@uxcn10-2.UoA.auckland.ac.nz>
Why not just call cfgmaker with the approprtae ifref option chain -- eg,

cfgmaker --ifref=ip,descr,name

This will make it use name is ip is not defined, and so on.  Then cfgmaker can still kep its own internal default but you've overridden it with your own.  This way, no need to change the cfgmaker application and confuse people...

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]
Ph: +64 9 373 7599 ext 86487