]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: do not print 'unrecognized' address family for loop
authorHannes Reinecke <hare@suse.de>
Tue, 23 Nov 2021 07:19:20 +0000 (08:19 +0100)
committerHannes Reinecke <hare@suse.de>
Tue, 23 Nov 2021 07:19:20 +0000 (08:19 +0100)
commitbbce560ff4205f61fadfc8905dfd02df78d69fbc
tree94efa551d15c3f5969b65cb158b31ca54390a955
parent1380dfb3d9f7d4e71b1ab65bd0adcf672dfb0655
fabrics: do not print 'unrecognized' address family for loop

fabrics implementations like 'loop' do not have a transport address,
and consequently the address family value doesn't make any sense here.
So do not try to translate the address family to a printable string
if the address itself is empty.

Signed-off-by: Hannes Reinecke <hare@suse.de>
fabrics.c