dhcp: fix dhcp proxy behavior for qinq and dot1q subinterfaces 62/26662/5
authorStanislav Zaikin <zstaseg@gmail.com>
Thu, 23 Apr 2020 12:14:30 +0000 (12:14 +0000)
committerJohn Lo <loj@cisco.com>
Sun, 26 Apr 2020 13:18:54 +0000 (13:18 +0000)
commite65eea360c394429320a45d695ee4d770673b3d4
tree2b42c9323c85c9e087756fafacfeddaf751874a5
parent681ea6dd287ed56b4ef32ba831cf9ae7d10c10de
dhcp: fix dhcp proxy behavior for qinq and dot1q subinterfaces

Previous behavior worked only when subinterface ID matches with dot1q tag and doesn't work at all in QinQ case.
In this patch I'm checking how subinterface is configured.

Type: fix

Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
Change-Id: I7a662a0442fdc8e68aba5d6f469f3b1139a4bc2d
src/plugins/dhcp/dhcp4_proxy_node.c
src/plugins/dhcp/dhcp6_proxy_node.c