This function is needed by the OF1.4 bundles.

Signed-off-by: Alexandru Copot <alex.miha...@gmail.com>
Cc: Daniel Baluta <dbal...@ixiacom.com>
---
 ofproto/ofproto.c | 2 +-
 ofproto/ofproto.h | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index cf3f271..6b25b9b 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -3000,7 +3000,7 @@ exit:
     return error;
 }
 
-static void
+void
 update_port_config(struct ofconn *ofconn, struct ofport *port,
                    enum ofputil_port_config config,
                    enum ofputil_port_config mask)
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index 60cbdd1..2222de1 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -50,6 +50,11 @@ enum ofperr
 check_port_mod(struct ofconn *ofconn, const struct ofp_header *oh,
                struct ofputil_port_mod *pm, struct ofport **port);
 
+void
+update_port_config(struct ofconn *ofconn, struct ofport *port,
+                   enum ofputil_port_config config,
+                   enum ofputil_port_config mask);
+
 struct ofproto_controller_info {
     bool is_connected;
     enum ofp12_controller_role role;
-- 
1.9.2

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

Reply via email to