aboutsummaryrefslogtreecommitdiff
path: root/networking/ifplugd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 04:37:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 04:37:13 +0200
commit78d035f7964510cfa8e4b3f5381f40fd2e56437b (patch)
treee8fb03ec3b53a9c022f14a653d8ba397ab7427b8 /networking/ifplugd.c
parentc0211e907ba0db44adab2c210caa284e49241ba5 (diff)
downloadbusybox-78d035f7964510cfa8e4b3f5381f40fd2e56437b.tar.gz
ifplugd: fix typo in prev commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifplugd.c')
-rw-r--r--networking/ifplugd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 01a7a49e5..8cb07db5d 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -145,7 +145,7 @@ static int run_script(const char *action)
env_PREVIOUS = xasprintf("%s=%s", IFPLUGD_ENV_PREVIOUS, strstatus(G.iface_prev_status));
putenv(env_PREVIOUS);
- env_CURRENT = xasprintf("%s=%s", IFPLUGD_ENV_PREVIOUS, strstatus(G.iface_last_status));
+ env_CURRENT = xasprintf("%s=%s", IFPLUGD_ENV_CURRENT, strstatus(G.iface_last_status));
putenv(env_CURRENT);
/* r < 0 - can't exec, 0 <= r < 0x180 - exited, >=0x180 - killed by sig (r-0x180) */