sr: fix srv6/srv6-ad/srv6-as promisc mode switch 29/27029/3
authorJohn Lo <loj@cisco.com>
Wed, 13 May 2020 05:38:12 +0000 (01:38 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 13 May 2020 19:02:46 +0000 (19:02 +0000)
Calling ethernet_set_flags() to switch interface to/from promiscuous
mode must use use hw_if_index instead of sw_if_index.

Type: fix

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: I72da286b913893227e32193ee11fbbc56e04804d


No differences found