Changes since 4.0.0
+- Fixed "--version" flag in dhcrelay
+
- The warning logged when an address range doesn't fit in the subnets
they were declared has been updated to be more helpful and identify the
typo in configuration that created the spanning addresses.
usage ();
} else if (!strcmp (argv [i], "-D")) {
drop_agent_mismatches = 1;
- } else if (argv [i][0] == '-') {
- usage ();
} else if (!strcmp (argv [i], "--version")) {
log_info ("isc-dhcrelay-%s", PACKAGE_VERSION);
exit (0);
+ } else if (argv [i][0] == '-') {
+ usage ();
} else {
struct hostent *he;
struct in_addr ia, *iap = (struct in_addr *)0;