aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-05-15 17:45:09 +0200
committerMauro Sardara <msardara@cisco.com>2019-05-15 17:45:09 +0200
commit3c8e286dbc17e85eaa5b90cd4e5d7b88d9d18391 (patch)
tree84e7b4ff1b8344e4ea14732b53f22ce458efc615 /apps
parent31f349f4c4457344efcff20ccadfed53042891b1 (diff)
[HICN-196] Fix ip address parsing from command line
Change-Id: I8f768fdde00d96e6e15a84958c085c71def85f0a Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/http-proxy/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/http-proxy/main.cc b/apps/http-proxy/main.cc
index fe1bda5de..a7020298b 100644
--- a/apps/http-proxy/main.cc
+++ b/apps/http-proxy/main.cc
@@ -37,7 +37,7 @@ int main(int argc, char** argv) {
while ((opt = getopt(argc, argv, "a:p:c:m:")) != -1) {
switch (opt) {
case 'a':
- prefix = optarg;
+ ip_address = optarg;
break;
case 'p':
port = optarg;