]> git.puffer.fish Git - mirror/frr.git/commitdiff
babeld: Fix typo in hello interval command.
authorJuliusz Chroboczek <jch@pps.jussieu.fr>
Tue, 7 Feb 2012 04:36:06 +0000 (05:36 +0100)
committerPaul Jakma <paul@quagga.net>
Sun, 25 Mar 2012 16:06:53 +0000 (17:06 +0100)
babeld/babel_interface.c

index fafe009f8769ce71c0389dbf591fa7714b37ec87..a874289cc925a046fc29dd04b33a58cd587c5905 100644 (file)
@@ -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);