[quagga-dev 15558] [PATCH 08/16] ospfd: fix double assignment in ospf_vl_set_timers

Christian Franke chris at opensourcerouting.org
Tue Jun 14 19:07:02 BST 2016


From: Christian Franke <nobody at nowhere.ws>

Signed-off-by: Christian Franke <chris at opensourcerouting.org>
---
 ospfd/ospf_vty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index fb17dff..a118794 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -886,7 +886,7 @@ static int
 ospf_vl_set_timers (struct ospf_vl_data *vl_data,
 		    struct ospf_vl_config_data *vl_config)
 {
-  struct interface *ifp = ifp = vl_data->vl_oi->ifp;
+  struct interface *ifp = vl_data->vl_oi->ifp;
   /* Virtual Link data initialised to defaults, so only set
      if a value given */
   if (vl_config->hello_interval)
-- 
2.8.0





More information about the Quagga-dev mailing list