+* [Bug 1330] disallow interface/nic rules when --novirtualips or
+ --interface are used.
* Add test of ntpd --saveconfigquit fidelity using new complete.conf.
(4.2.5p226) 2009/10/04 Released by Harlan Stenn <stenn@ntp.org>
-[Bug 1318] Allow multiple -g options on ntpd command line.
-[Bug 1327] ntpq, ntpdc, ntp-keygen -d and -D should work with configure
+* [Bug 1318] Allow multiple -g options on ntpd command line.
+* [Bug 1327] ntpq, ntpdc, ntp-keygen -d and -D should work with configure
--disable-debugging.
* Add ntpd --saveconfigquit <filename> option for future build-time
testing of saveconfig fidelity.
char * pchSlash;
int prefixlen;
- for (curr_node = queue_head(ptree->nic_rules);
+ curr_node = queue_head(ptree->nic_rules);
+
+ if (curr_node != NULL
+ && (HAVE_OPT( NOVIRTUALIPS ) || HAVE_OPT( INTERFACE ))) {
+ msyslog(LOG_ERR,
+ "interface/nic rules are not allowed with --interface (-I) or --novirtualips (-L)%s",
+ (input_from_file) ? ", exiting" : "");
+ if (input_from_file)
+ exit(1);
+ }
+
+ for (;
curr_node != NULL;
curr_node = next_node(curr_node)) {