nbd: Forbid port= when using uri=
commitd39401f28c7c2da45253889a257acf716ea3fbef
authorEric Blake <eblake@redhat.com>
Fri, 22 Nov 2019 19:42:03 +0000 (22 13:42 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 22 Nov 2019 19:57:07 +0000 (22 13:57 -0600)
tree3a40422f21ac3937c4f880b9a87d1e862e63f63c
parent713e9f57a169e1a9834767ff072a815d6a8168e3
nbd: Forbid port= when using uri=

When connecting as a client via a URI, the port string was
inadvertently ignored instead of diagnosed as spurious.

Fixes: 5a2573840f
Signed-off-by: Eric Blake <eblake@redhat.com>
plugins/nbd/nbd.c