there's little point to override patch ports, which is implmeneted purely in our userlang process these days, with a dummy implementation.
this allows testing patch ports in "make sandbox" environment. Signed-off-by: YAMAMOTO Takashi <y...@mwd.biglobe.ne.jp> --- lib/netdev-dummy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c index 16a6b0b..8f3deb2 100644 --- a/lib/netdev-dummy.c +++ b/lib/netdev-dummy.c @@ -912,6 +912,9 @@ netdev_dummy_register(bool override) sset_init(&types); netdev_enumerate_types(&types); SSET_FOR_EACH (type, &types) { + if (!strcmp(type, "patch")) { + continue; + } if (!netdev_unregister_provider(type)) { struct netdev_class *class; int error; -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev