]> git.puffer.fish Git - mirror/frr.git/commitdiff
babeld: remove port and group setting commands.
authorJuliusz Chroboczek <jch@pps.jussieu.fr>
Sat, 11 Feb 2012 12:34:30 +0000 (13:34 +0100)
committerPaul Jakma <paul@quagga.net>
Sun, 25 Mar 2012 16:06:54 +0000 (17:06 +0100)
They didn't work anyway, since they're called too late.

babeld/babeld.c

index 14990a68857f2ef8fcd9f68e7ef0ce6da02de9d3..f42a81b6b4aeca3ee305088d9651a1ff95477904 100644 (file)
@@ -629,53 +629,6 @@ DEFUN (no_router_babel,
     return CMD_SUCCESS;
 }
 
-/* [Babel Command] */
-DEFUN (babel_set_protocol_group,
-       babel_set_protocol_group_cmd,
-       "protocol group ADDR",
-       "Set the protocol group, default is ff02::1:6.\n"
-       "IPv6 address")
-{
-    int ret;
-    struct prefix p;
-
-    ret = str2prefix (argv[0], &p);
-
-    /* Given string is:                 */
-    if (ret) { /* an IPv4 or v6 network */
-        if (p.family != AF_INET6) {
-            return CMD_WARNING;
-        }
-        in6addr_to_uchar(protocol_group, &p.u.prefix6);
-    } else {   /* an interface name     */
-        return CMD_WARNING;
-    }
-
-    if (ret < 0) {
-        vty_out (vty, "%s must be an ipv6 address%s", argv[0],
-                 VTY_NEWLINE);
-        return CMD_WARNING;
-    }
-
-    return CMD_SUCCESS;
-}
-
-/* [Babel Command] */
-DEFUN (babel_set_protocol_port,
-       babel_set_protocol_port_cmd,
-       "protocol port <1-65535>",
-       "Set the protocol port (default is defined in RFC).\n"
-       "IPv6 address")
-{
-    int port;
-
-    VTY_GET_INTEGER_RANGE("port", port, argv[0], 1, 0xFFFF);
-
-    protocol_port = port;
-    return CMD_SUCCESS;
-}
-
-
 void
 babeld_quagga_init(void)
 {