]> git.proxmox.com Git - mirror_qemu.git/commit
net: Do not include a newline in the id of -nic devices
authorThomas Huth <thuth@redhat.com>
Mon, 18 May 2020 07:43:52 +0000 (09:43 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 9 Jun 2020 16:50:39 +0000 (18:50 +0200)
commit0561dfac082becdd9e89110249a27b309b62aa9f
tree13083a3d2c7925f024461fe33ddddfce44e63da4
parent705f7f2fce25e774e19f6853cd92ebaf909958f3
net: Do not include a newline in the id of -nic devices

The '\n' sneaked in by accident here, an "id" string should really
not contain a newline character at the end.

Fixes: 78cd6f7bf6b ('net: Add a new convenience option "--nic" ...')
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200518074352.23125-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
net/net.c