Signed-off-by: Justin Pettit <jpet...@nicira.com> --- lib/dpif.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/dpif.c b/lib/dpif.c index 9577e4f..9feb67b 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -516,7 +516,7 @@ bool dpif_port_exists(const struct dpif *dpif, const char *devname) { int error = dpif->dpif_class->port_query_by_name(dpif, devname, NULL); - if (error != 0 && error != ENODEV) { + if (error != 0 && error != ENOENT && error != ENODEV) { VLOG_WARN_RL(&error_rl, "%s: failed to query port %s: %s", dpif_name(dpif), devname, strerror(error)); } -- 1.7.5.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev