mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 12:10:24 +00:00
Merge pull request #7788 from deastoe/zebra2proto-kernel-connect
zebra: zebra2proto() handle kernel/connect type
This commit is contained in:
commit
a4525d25b5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user