summaryrefslogtreecommitdiff
path: root/jobmon/netmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'jobmon/netmon.c')
-rw-r--r--jobmon/netmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobmon/netmon.c b/jobmon/netmon.c
index 6c2b13b..b571f17 100644
--- a/jobmon/netmon.c
+++ b/jobmon/netmon.c
@@ -130,7 +130,7 @@ configure (int af, char *interface) {
if ((p = fork ()) == -1) die ("fork failure: %s", strerror (errno));
if (p == 0) {
- execl ("/sbin/ifconfig", "ifconfig", (af == AF_INET) ? "inet" : "inet6", "autoconf", NULL);
+ execl ("/sbin/ifconfig", "ifconfig", interface, (af == AF_INET) ? "inet" : "inet6", "autoconf", NULL);
die ("exec failure: %s", strerror (errno));
}