diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-02-23 16:32:56 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-02-23 16:32:56 +0000 |
commit | 17d9d3c196f50a96ca9f0ba68d3bea76e606309c (patch) | |
tree | e1654b46d85456ec669540561981e98fbdc9ea7b /usr.sbin/ospf6ctl | |
parent | 05feabc6c37420e3bd1860eed19978d4a5695ee2 (diff) |
Unbreak tree. struct lsa_asext changed so we need to adjust the output
function. Correct fix will follow but this compiles again.
Diffstat (limited to 'usr.sbin/ospf6ctl')
-rw-r--r-- | usr.sbin/ospf6ctl/ospf6ctl.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c index 27afef49263..cdbcbcd47fa 100644 --- a/usr.sbin/ospf6ctl/ospf6ctl.c +++ b/usr.sbin/ospf6ctl/ospf6ctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6ctl.c,v 1.32 2009/12/23 18:01:31 claudio Exp $ */ +/* $OpenBSD: ospf6ctl.c,v 1.33 2010/02/23 16:32:55 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -720,8 +720,6 @@ show_db_msg_detail(struct imsg *imsg) if (lsa->hdr.type != lasttype) show_database_head(area_id, ifname, lsa->hdr.type); show_db_hdr_msg_detail(&lsa->hdr); - addr.s_addr = lsa->data.asext.mask; - printf("Network Mask: %s\n", inet_ntoa(addr)); asext = (struct lsa_asext *)((char *)lsa + sizeof(lsa->hdr)); @@ -732,9 +730,6 @@ show_db_msg_detail(struct imsg *imsg) printf("1\n"); printf(" Metric: %d\n", ntohl(asext->metric) & LSA_METRIC_MASK); - addr.s_addr = asext->fw_addr; - printf(" Forwarding Address: %s\n", inet_ntoa(addr)); - printf(" External Route Tag: %d\n\n", ntohl(asext->ext_tag)); lasttype = lsa->hdr.type; break; |