bug fix in zebra integration for frr7.2

This commit is contained in:
Hitoshi Irino
2020-01-18 18:57:48 +09:00
parent c899a95b27
commit b615942abb
+1 -1
View File
@@ -3276,7 +3276,7 @@ func (m *Message) parseFrrZapi6Message(data []byte, software string) error {
// TODO
m.Body = &UnknownBody{}
case FRR_ZAPI6_REDISTRIBUTE_ROUTE_ADD, FRR_ZAPI6_REDISTRIBUTE_ROUTE_DEL:
m.Body = &IPRouteBody{Api: m.Header.Command}
m.Body = &IPRouteBody{Api: command}
case FRR_ZAPI6_INTERFACE_VRF_UPDATE:
// TODO
m.Body = &UnknownBody{}