Index: bgpd/bgp_route.c =================================================================== RCS file: /var/cvsroot/quagga/bgpd/bgp_route.c,v retrieving revision 1.10 diff -u -3 -p -r1.10 bgp_route.c --- bgpd/bgp_route.c 17 Feb 2004 19:45:10 -0000 1.10 +++ bgpd/bgp_route.c 4 Mar 2004 19:44:42 -0000 @@ -3710,16 +3710,7 @@ route_vty_out_route (struct prefix *p, s { len = vty_out (vty, "%s", inet_ntop (p->family, &p->u.prefix, buf, BUFSIZ)); destination = ntohl (p->u.prefix4.s_addr); - - if ((IN_CLASSC (destination) && p->prefixlen == 24) - || (IN_CLASSB (destination) && p->prefixlen == 16) - || (IN_CLASSA (destination) && p->prefixlen == 8) - || p->u.prefix4.s_addr == 0) - { - /* When mask is natural, mask is not displayed. */ - } - else - len += vty_out (vty, "/%d", p->prefixlen); + len += vty_out (vty, "/%d", p->prefixlen); } else len = vty_out (vty, "%s/%d", inet_ntop (p->family, &p->u.prefix, buf, BUFSIZ), @@ -8931,16 +8922,7 @@ bgp_config_write_network (struct vty *vt masklen2ip (p->prefixlen, &netmask); vty_out (vty, " network %s", inet_ntop (p->family, &p->u.prefix, buf, SU_ADDRSTRLEN)); - - if ((IN_CLASSC (destination) && p->prefixlen == 24) - || (IN_CLASSB (destination) && p->prefixlen == 16) - || (IN_CLASSA (destination) && p->prefixlen == 8) - || p->u.prefix4.s_addr == 0) - { - /* Natural mask is not display. */ - } - else - vty_out (vty, " mask %s", inet_ntoa (netmask)); + vty_out (vty, " mask %s", inet_ntoa (netmask)); } else {