bundle_move() expects two “struct ofbundle” as arguments.

Signed-off-by: Daniele Venturino <daniele.ventur...@m3s.it>
---
 ofproto/ofproto-dpif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 8778ed2..3f8768d 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -2190,8 +2190,8 @@ rstp_run(struct ofproto_dpif *ofproto)
         }
 
         if (rstp_shift_root_learned_address(ofproto->rstp)) {
-            bundle_move(rstp_get_old_root_aux(ofproto->rstp),
-                        rstp_get_new_root_aux(ofproto->rstp));
+            bundle_move(((struct ofport_dpif 
*)rstp_get_old_root_aux(ofproto->rstp))->bundle,
+                        ((struct ofport_dpif 
*)rstp_get_new_root_aux(ofproto->rstp))->bundle);
             rstp_reset_root_changed(ofproto->rstp);
         }
     }
-- 
1.8.1.2

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to