Don't info about DR and BDR on non-MA networks.
This commit is contained in:
parent
2debcb9eb0
commit
3585d400e0
1 changed files with 7 additions and 4 deletions
|
@ -434,8 +434,11 @@ ospf_iface_info(struct ospf_iface *ifa)
|
||||||
cli_msg(-1015,"\tWait timer: %u", ifa->waitint);
|
cli_msg(-1015,"\tWait timer: %u", ifa->waitint);
|
||||||
cli_msg(-1015,"\tDead timer: %u", ifa->deadc*ifa->helloint);
|
cli_msg(-1015,"\tDead timer: %u", ifa->deadc*ifa->helloint);
|
||||||
cli_msg(-1015,"\tRetransmit timer: %u", ifa->rxmtint);
|
cli_msg(-1015,"\tRetransmit timer: %u", ifa->rxmtint);
|
||||||
|
if((ifa->type==OSPF_IT_BCAST)||(ifa->type==OSPF_IT_NBMA))
|
||||||
|
{
|
||||||
cli_msg(-1015,"\tDesigned router (ID): %I", ifa->drid);
|
cli_msg(-1015,"\tDesigned router (ID): %I", ifa->drid);
|
||||||
cli_msg(-1015,"\tDesigned router (IP): %I", ifa->drip);
|
cli_msg(-1015,"\tDesigned router (IP): %I", ifa->drip);
|
||||||
cli_msg(-1015,"\tBackup designed router (ID): %I", ifa->bdrid);
|
cli_msg(-1015,"\tBackup designed router (ID): %I", ifa->bdrid);
|
||||||
cli_msg(-1015,"\tBackup designed router (IP): %I", ifa->bdrip);
|
cli_msg(-1015,"\tBackup designed router (IP): %I", ifa->bdrip);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue