]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iptuntap: fix multi-queue flag display
authorDavid Marchand <david.marchand@redhat.com>
Wed, 1 Sep 2021 15:48:26 +0000 (17:48 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 2 Sep 2021 15:41:17 +0000 (08:41 -0700)
commite7e0e2ce65708a06e95e5822efaf10b34835e518
tree1d050bf6d41fb8793b88145a02b1be111fc303f1
parentdeef844b1ef83292ba35ee618e40346139d2c608
iptuntap: fix multi-queue flag display

When creating a tap with multi_queue flag, this flag is not displayed
when dumping:

$ ip tuntap add tap23 mode tap multi_queue
$ ip tuntap
tap23: tap persist0x100

While at it, add a space between known flags and hexdump of unknown
ones.

Fixes: c41e038f48a3 ("iptuntap: allow creation of multi-queue tun/tap device")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iptuntap.c