Hi,
attached a small patch to correct the naming of the OSPF designated
router in the output of show ospf interface.
Have fun,
--
Hans van Kranenburg - System / Network Engineer
T +31 (0)10 2760434 | hans.van.kranenb...@mendix.com | www.mendix.com
>From 539137b0fbd432301310b7d3e8ff6d33d80e5236 Mon Sep 17 00:00:00 2001
From: Hans van Kranenburg <hans.van.kranenb...@mendix.com>
Date: Sun, 31 May 2015 19:44:03 +0200
Subject: [PATCH] Fix typo: OSPF designated router
---
proto/ospf/iface.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 656184c..9b0f779 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -1344,9 +1344,9 @@ ospf_iface_info(struct ospf_iface *ifa)
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): %R", ifa->drid);
- cli_msg(-1015, "\tDesigned router (IP): %I", ifa->drip);
- cli_msg(-1015, "\tBackup designed router (ID): %R", ifa->bdrid);
- cli_msg(-1015, "\tBackup designed router (IP): %I", ifa->bdrip);
+ cli_msg(-1015, "\tDesignated router (ID): %R", ifa->drid);
+ cli_msg(-1015, "\tDesignated router (IP): %I", ifa->drip);
+ cli_msg(-1015, "\tBackup designated router (ID): %R", ifa->bdrid);
+ cli_msg(-1015, "\tBackup designated router (IP): %I", ifa->bdrip);
}
}
--
2.1.4