VPP-1338: fix coverity warning in mactime plugin 21/13421/2
authorDave Barach <dave@barachs.net>
Wed, 11 Jul 2018 11:01:25 +0000 (07:01 -0400)
committerDamjan Marion <dmarion@me.com>
Wed, 11 Jul 2018 13:16:45 +0000 (13:16 +0000)
commitf46d8f8d3fa1e0cefbc4c70645f2121b14662d4f
tree73cbcbf4aff0798b84c58c018048c76fa397fa24
parent9aca7b5ee915b8035fb5b690b7520ab155fcb36e
VPP-1338: fix coverity warning in mactime plugin

Add missing VALIDATE_SW_IF_INDEX macro / check.

Net of this fix, a spurious warning will probably recur. Coverity will
complain that sw_if_index is tainted. Please dismiss the warning.

Change-Id: Iec31ce1d86f742e197e63b0c5d474cd5e496ee5f
Signed-off-by: Dave Barach <dave@barachs.net>
src/plugins/mactime/mactime.c