diff options
| author | Mark Stapp <mjs.ietf@gmail.com> | 2023-08-18 11:56:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-18 11:56:20 -0400 |
| commit | 852e24d7a4c2045ad5400a4b82bbceae6d6ced1c (patch) | |
| tree | 697bcf1a31132ce1aecdd9f2c1ba803331163796 /zebra/zebra_l2.c | |
| parent | 1b52af80fd00e8abe3aa11fa6ccbca4f4a359353 (diff) | |
| parent | 6349e49645c2845beddc3a9a7a56b6123bfa2c89 (diff) | |
Merge pull request #14223 from donaldsharp/interface_fies
zebra: Fix crashes in interface change
Diffstat (limited to 'zebra/zebra_l2.c')
| -rw-r--r-- | zebra/zebra_l2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_l2.c b/zebra/zebra_l2.c index 39c1319f31..4f7a1cd4ce 100644 --- a/zebra/zebra_l2.c +++ b/zebra/zebra_l2.c @@ -383,7 +383,8 @@ void zebra_l2_vxlanif_update_access_vlan(struct interface *ifp, assert(zif); /* This would be called only in non svd case */ - assert(IS_ZEBRA_VXLAN_IF_VNI(zif)); + if (!IS_ZEBRA_VXLAN_IF_VNI(zif)) + return; old_access_vlan = zif->l2info.vxl.vni_info.vni.access_vlan; ; |
