From 8c746b3a2bfb67addbfa4d3d4b7c0dbc2e8ba985 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Tue, 23 Jun 2015 14:17:10 +0200 Subject: ripe-atlas-fw: imported version 4680 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- eperd/eperd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'eperd/eperd.c') diff --git a/eperd/eperd.c b/eperd/eperd.c index 2ccaa6a..49c5884 100644 --- a/eperd/eperd.c +++ b/eperd/eperd.c @@ -262,9 +262,10 @@ int eperd_main(int argc UNUSED_PARAM, char **argv) /* "-b after -f is ignored", and so on for every pair a-b */ opt_complementary = "f-b:b-f:S-L:L-S" USE_FEATURE_PERD_D(":d-l") - ":l+:d+"; /* -l and -d have numeric param */ - opt = getopt32(argv, "l:L:fbSc:A:DP:" USE_FEATURE_PERD_D("d:") "O:", - &LogLevel, &LogFile, &CDir, &atlas_id, &PidFileName + "i:+:l+:d+"; /* -i, -l and -d have numeric param */ + opt = getopt32(argv, "i:l:L:fbSc:A:DP:" USE_FEATURE_PERD_D("d:") "O:", + &instance_id, &LogLevel, &LogFile, &CDir, + &atlas_id, &PidFileName USE_FEATURE_PERD_D(,&LogLevel), &out_filename); /* both -d N and -l N set the same variable: LogLevel */ -- cgit v1.2.3