summaryrefslogtreecommitdiff
path: root/isisd/isis_circuit.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-12-23 11:51:08 +0000
committerhasso <hasso>2003-12-23 11:51:08 +0000
commit2097cd8a7a1322b2853f1b9cbbe7f39c436f553e (patch)
treeab849230440ac6429f6d2caea41d36cb893f0c8d /isisd/isis_circuit.c
parent5a514b14c706d671a041862c072af08a2baab98e (diff)
Some fixes to isisd done by me and Cougar in the spring of 2003. See
changelog for details.
Diffstat (limited to 'isisd/isis_circuit.c')
-rw-r--r--isisd/isis_circuit.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c
index f37c314e..53a341f7 100644
--- a/isisd/isis_circuit.c
+++ b/isisd/isis_circuit.c
@@ -553,35 +553,6 @@ isis_interface_config_write (struct vty *vty)
write++;
}
#endif /* HAVE_IPV6 */
- /* ipv4 addresses - FIXME: those should be related to interface*/
- if (c->ip_addrs) {LIST_LOOP (c->ip_addrs,ip, node3)
- {
- vty_out (vty, " ip%s address %s/%d%s",
- ip->family == AF_INET ? "" : "v6",
- inet_ntop (ip->family, &ip->prefix, buf, BUFSIZ), ip->prefixlen,
- VTY_NEWLINE);
- write++;
- }}
-
- /* ipv6 addresses - FIXME: those should be related to interface*/
-#ifdef HAVE_IPV6
- if (c->ipv6_link) {LIST_LOOP (c->ipv6_link, ipv6, node3)
- {
- vty_out (vty, " ip%s address %s/%d%s",
- ipv6->family == AF_INET ? "" : "v6",
- inet_ntop (ipv6->family, &ipv6->prefix, buf, BUFSIZ),
- ipv6->prefixlen,VTY_NEWLINE);
- write++;
- }}
- if (c->ipv6_non_link) {LIST_LOOP (c->ipv6_non_link, ipv6, node3)
- {
- vty_out (vty, " ip%s address %s/%d%s",
- ipv6->family == AF_INET ? "" : "v6",
- inet_ntop (ipv6->family, &ipv6->prefix, buf, BUFSIZ),
- ipv6->prefixlen, VTY_NEWLINE);
- write++;
- }}
-#endif /* HAVE_IPV6 */
/* ISIS - circuit type */
if (c->circuit_is_type == IS_LEVEL_1) {
@@ -690,6 +661,7 @@ isis_interface_config_write (struct vty *vty)
}
}
+ vty_out (vty, "!%s",VTY_NEWLINE);
}
return write;