]> git.ipfire.org Git - thirdparty/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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 24 Aug 2020 23:55:57 +0000 (18:55 -0500)
commitc6414cb18315e4d043b6756faf9766fb0d8488bb
tree4ede2e878653914ba5d81c002efee667288cc890
parent250322bfbdec098699b414422008aa8ae65f7d4d
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>
(cherry picked from commit 0561dfac082becdd9e89110249a27b309b62aa9f)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
net/net.c