]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_top.c
Merge pull request #9028 from mobash-rasool/ospfv3-asbr-summarisation
[mirror_frr.git] / ospf6d / ospf6_top.c
index 65c1eee7601b6326685cd0fc5e0b0ac8e38c6661..6105e2c24be29dca0b17e699205f17e3a3a82ee6 100644 (file)
@@ -1015,7 +1015,6 @@ DEFUN_HIDDEN (ospf6_interface_area,
        struct ospf6_interface *oi;
        struct interface *ifp;
        vrf_id_t vrf_id = VRF_DEFAULT;
-       int ipv6_count = 0;
        uint32_t area_id;
        int format;
 
@@ -1038,23 +1037,6 @@ DEFUN_HIDDEN (ospf6_interface_area,
                return CMD_SUCCESS;
        }
 
-       /* if more than OSPF6_MAX_IF_ADDRS are configured on this interface
-        * then don't allow ospfv3 to be configured
-        */
-       ipv6_count = connected_count_by_family(ifp, AF_INET6);
-       if (oi->ifmtu == OSPF6_DEFAULT_MTU && ipv6_count > OSPF6_MAX_IF_ADDRS) {
-               vty_out(vty,
-                       "can not configure OSPFv3 on if %s, must have less than %d interface addresses but has %d addresses\n",
-                       ifp->name, OSPF6_MAX_IF_ADDRS, ipv6_count);
-               return CMD_WARNING_CONFIG_FAILED;
-       } else if (oi->ifmtu >= OSPF6_JUMBO_MTU
-                  && ipv6_count > OSPF6_MAX_IF_ADDRS_JUMBO) {
-               vty_out(vty,
-                       "can not configure OSPFv3 on if %s, must have less than %d interface addresses but has %d addresses\n",
-                       ifp->name, OSPF6_MAX_IF_ADDRS_JUMBO, ipv6_count);
-               return CMD_WARNING_CONFIG_FAILED;
-       }
-
        if (str2area_id(argv[idx_ipv4]->arg, &area_id, &format)) {
                vty_out(vty, "Malformed Area-ID: %s\n", argv[idx_ipv4]->arg);
                return CMD_WARNING_CONFIG_FAILED;