odp-util: Limit scope of vlan in format_odp_action().
authorSimon Horman <simon.horman@netronome.com>
Tue, 1 Dec 2015 06:03:02 +0000 (15:03 +0900)
committerBen Pfaff <blp@ovn.org>
Tue, 1 Dec 2015 18:26:35 +0000 (10:26 -0800)
commit66026437ba16370468b046c7eb1ebd13d8540644
tree1537ecf46adbef393a00c01b018c8aefd9180d3b
parent3bef95305c5ccc00c149049b4ce733a8a4f5df3d
odp-util: Limit scope of vlan in format_odp_action().

Limit the scope of the local vlan variable in format_odp_action()
to where it is used. This is consistent with the treatment of mpls
in the same function.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/odp-util.c