Bug 363 - nsd-checkconf -v slightly bogus output
nsd-checkconf -v slightly bogus output
Status: RESOLVED FIXED
Product: NSD
Classification: Unclassified
Component: NSD Code
3.2.x
All All
: P5 enhancement
Assigned To: NSD team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-23 17:36 CET by Martin Husemann
Modified: 2011-02-24 14:25 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Husemann 2011-02-23 17:36:14 CET
When using the outgoing-interface: statement in a zone, configparser.y unconditionally uses "NOKEY" as third argument to parse_acl_info(). Of course this part is basically ignored in the resulting acl_options_t.

However, when doing nsd-checkconf -v on such a config file, the outgoing-interface: statement will be listed with an additional NOKEY suffix.

This is slightly confusing, assuming you expect the program to tell you what it understood about your config file, basically in a format usable as a config file itself.
Comment 1 Wouter Wijngaards 2011-02-24 14:25:55 CET
Hi Martin,

Thank you for the bugreport, fixed in svn of NSD.

Best regards, Wouter