dpif: Make dpif_port_query_by_name() more useful by logging less on failure.
authorBen Pfaff <blp@nicira.com>
Tue, 16 Jun 2009 17:01:04 +0000 (10:01 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 16:07:23 +0000 (09:07 -0700)
commit5c6d2a3f3a3649a7f1e7f1bbcd02139fff3bf433
treead031b951e8a2e0c837df2dd75178c3c720cea56
parentb29ba12809fc48d1b4e417c7444e53d984292a5f
dpif: Make dpif_port_query_by_name() more useful by logging less on failure.

One potential user of dpif_port_query_by_name() actually open-coded the
function because it didn't want logging on failure.  There was only one
actual caller of the function, which didn't want logging on failure either.
So, clean up by reducing the failure log level to DBG and making the
open-coded version an actual caller.
lib/dpif.c