Fix for Bugzilla #108.
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index c930817..461574a 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -6713,14 +6713,17 @@
do {
/* Interface Network print. */
if (OSPF_IF_PARAM_CONFIGURED (params, type) &&
- params->type != OSPF_IFTYPE_BROADCAST &&
params->type != OSPF_IFTYPE_LOOPBACK)
{
- vty_out (vty, " ip ospf network %s",
- ospf_int_type_str[params->type]);
- if (params != IF_DEF_PARAMS (ifp))
- vty_out (vty, " %s", inet_ntoa (rn->p.u.prefix4));
- vty_out (vty, "%s", VTY_NEWLINE);
+ if ((!if_is_broadcast(ifp)) &&
+ (params->type != OSPF_IFTYPE_BROADCAST))
+ {
+ vty_out (vty, " ip ospf network %s",
+ ospf_int_type_str[params->type]);
+ if (params != IF_DEF_PARAMS (ifp))
+ vty_out (vty, " %s", inet_ntoa (rn->p.u.prefix4));
+ vty_out (vty, "%s", VTY_NEWLINE);
+ }
}
/* OSPF interface authentication print */