2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Fix "dhcrelay --version" [rt17350]

This commit is contained in:
Evan Hunt
2008-01-17 17:18:28 +00:00
parent 30922d9c3c
commit e4a896be6b
2 changed files with 4 additions and 2 deletions

View File

@@ -194,11 +194,11 @@ main(int argc, char **argv) {
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;