diff options
author | Stephen Worley <sworley@nvidia.com> | 2020-12-28 20:57:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 20:57:41 +0100 |
commit | a4525d25b5ff11c002aa012bc161bf831a032ed5 (patch) | |
tree | 9ab8ba2c7fe2ac0c3168cdbdabd0ec0a4f9e0983 /zebra/rt_netlink.c | |
parent | Merge pull request #7761 from bisdhdh/local_1 (diff) | |
parent | zebra: zebra2proto() handle kernel/connect type (diff) | |
download | frr-a4525d25b5ff11c002aa012bc161bf831a032ed5.tar.xz frr-a4525d25b5ff11c002aa012bc161bf831a032ed5.zip |
Merge pull request #7788 from deastoe/zebra2proto-kernel-connect
zebra: zebra2proto() handle kernel/connect type
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r-- | zebra/rt_netlink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 1ff1afac9..c1a0e6ccd 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -266,6 +266,10 @@ static inline int zebra2proto(int proto) case ZEBRA_ROUTE_NHG: proto = RTPROT_ZEBRA; break; + case ZEBRA_ROUTE_CONNECT: + case ZEBRA_ROUTE_KERNEL: + proto = RTPROT_KERNEL; + break; default: /* * When a user adds a new protocol this will show up |