aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/zcip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/networking/zcip.c b/networking/zcip.c
index 635d660b3..a3307c5c9 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -33,6 +33,9 @@
33//usage: "\n -l x.x.0.0 Use this range instead of 169.254" 33//usage: "\n -l x.x.0.0 Use this range instead of 169.254"
34//usage: "\n -v Verbose" 34//usage: "\n -v Verbose"
35//usage: "\n" 35//usage: "\n"
36//usage: "\n$LOGGING=none Suppress logging"
37//usage: "\n$LOGGING=syslog Log to syslog"
38//usage: "\n"
36//usage: "\nWith no -q, runs continuously monitoring for ARP conflicts," 39//usage: "\nWith no -q, runs continuously monitoring for ARP conflicts,"
37//usage: "\nexits only on I/O errors (link down etc)" 40//usage: "\nexits only on I/O errors (link down etc)"
38 41
@@ -249,6 +252,8 @@ int zcip_main(int argc UNUSED_PARAM, char **argv)
249 openlog(applet_name, 0, LOG_DAEMON); 252 openlog(applet_name, 0, LOG_DAEMON);
250 logmode |= LOGMODE_SYSLOG; 253 logmode |= LOGMODE_SYSLOG;
251 } 254 }
255 bb_logenv_override();
256
252 { // -l n.n.n.n 257 { // -l n.n.n.n
253 struct in_addr net; 258 struct in_addr net;
254 if (inet_aton(l_opt, &net) == 0 259 if (inet_aton(l_opt, &net) == 0