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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user