aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index 5bf97888..bbd42cf6 100644
--- a/options.c
+++ b/options.c
@@ -268,11 +268,11 @@ struct query *ctl; /* option record to be initialized */
#ifdef linux
case 'I':
case LA_INTERFACE:
- cmd_interface = optarg;
+ ctl->server.interface = xstrdup(optarg);
break;
case 'M':
case LA_MONITOR:
- cmd_monitor = optarg;
+ ctl->server.monitor = xstrdup(optarg);
break;
#endif