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)
commit5b960c60f61c937d0f862be8a7573922b616de75
tree1a272492e765d6068c5401cf53cbf7f30fbc1902
parent83d129837534e832dfcf7aef39f6a8619e2c021c
sr: fix srv6/srv6-ad/srv6-as promisc mode switch

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
src/plugins/srv6-ad/ad.c
src/plugins/srv6-as/as.c
src/vnet/srv6/sr_steering.c