From: "Mark D. Gray" <[email protected]>

According to netdev-provider, this function should return
EOPNOTSUPP if not supported.

Signed-off-by: Mark D. Gray <[email protected]>
---
 lib/netdev-dpdk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 391695f..aea2016 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -1116,7 +1116,7 @@ static int
 netdev_dpdk_set_miimon(struct netdev *netdev_ OVS_UNUSED,
                        long long int interval OVS_UNUSED)
 {
-    return 0;
+    return EOPNOTSUPP;
 }
 
 static int
-- 
1.9.3

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to