summaryrefslogtreecommitdiff
path: root/babeld
diff options
context:
space:
mode:
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index fafe009f..a874289c 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -430,7 +430,7 @@ DEFUN (babel_set_hello_interval,
struct interface *ifp;
babel_interface_nfo *babel_ifp;
- int interval = atoi(argv[1]);
+ int interval = atoi(argv[0]);
ifp = vty->index;
babel_ifp = babel_get_if_nfo(ifp);