]> git.proxmox.com Git - mirror_iproute2.git/commit
ip: convert monitor to switch
authorStephen Hemminger <sthemmin@microsoft.com>
Wed, 15 Aug 2018 21:29:41 +0000 (14:29 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 16 Aug 2018 16:49:00 +0000 (09:49 -0700)
commit40443f49b398f7a907f5fa808f25eb45d8aa163f
treebfc60d2a351787be71cfc7e20a898aec1c9b5a88
parentd67eb4fbf89eb6d9a037dea1b691b449a07d898c
ip: convert monitor to switch

The decoding of netlink message types is natural for a C
switch statement.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipmonitor.c