From b615942abb0445849e81cbbb2fcdbf98a0bfbdf0 Mon Sep 17 00:00:00 2001 From: Hitoshi Irino Date: Sat, 18 Jan 2020 18:57:48 +0900 Subject: bug fix in zebra integration for frr7.2 --- internal/pkg/zebra/zapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg') diff --git a/internal/pkg/zebra/zapi.go b/internal/pkg/zebra/zapi.go index 931ddd1e..cbae40f0 100644 --- a/internal/pkg/zebra/zapi.go +++ b/internal/pkg/zebra/zapi.go @@ -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{} -- cgit v1.2.3