mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 19:11:44 +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:
|
case ZEBRA_ROUTE_NHG:
|
||||||
proto = RTPROT_ZEBRA;
|
proto = RTPROT_ZEBRA;
|
||||||
break;
|
break;
|
||||||
|
case ZEBRA_ROUTE_CONNECT:
|
||||||
|
case ZEBRA_ROUTE_KERNEL:
|
||||||
|
proto = RTPROT_KERNEL;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/*
|
/*
|
||||||
* When a user adds a new protocol this will show up
|
* When a user adds a new protocol this will show up
|
||||||
|
Loading…
Reference in New Issue
Block a user