summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2020-02-06 13:29:10 +0100
committerRazvan Becheriu <razvan@isc.org>2020-02-21 16:41:31 +0100
commit9b500ee94039c2473c2c7cb5b58af7ca9e96c824 (patch)
treec93b868b917ab4475703754ad4e183470ea6a326
parent[#892] fixed compilation (diff)
downloadkea-9b500ee94039c2473c2c7cb5b58af7ca9e96c824.tar.xz
kea-9b500ee94039c2473c2c7cb5b58af7ca9e96c824.zip
[#892] fixed command line parameters
-rw-r--r--src/bin/dhcp4/main.cc2
-rw-r--r--src/bin/dhcp6/main.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/dhcp4/main.cc b/src/bin/dhcp4/main.cc
index 9c47d36af4..2fbb6b2d78 100644
--- a/src/bin/dhcp4/main.cc
+++ b/src/bin/dhcp4/main.cc
@@ -80,7 +80,7 @@ main(int argc, char* argv[]) {
// The standard config file
std::string config_file("");
- while ((ch = getopt(argc, argv, "dvVWc:p:P:t:")) != -1) {
+ while ((ch = getopt(argc, argv, "dvVWc:p:P:N:t:")) != -1) {
switch (ch) {
case 'd':
verbose_mode = true;
diff --git a/src/bin/dhcp6/main.cc b/src/bin/dhcp6/main.cc
index 89b4f46960..8b9f3909de 100644
--- a/src/bin/dhcp6/main.cc
+++ b/src/bin/dhcp6/main.cc
@@ -80,7 +80,7 @@ main(int argc, char* argv[]) {
// The standard config file
std::string config_file("");
- while ((ch = getopt(argc, argv, "dvVWc:p:P:t:")) != -1) {
+ while ((ch = getopt(argc, argv, "dvVWc:p:P:N:t:")) != -1) {
switch (ch) {
case 'd':
verbose_mode = true;