summaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorHitoshi Irino <irino@sfc.wide.ad.jp>2020-01-18 18:57:48 +0900
committerHitoshi Irino <irino@sfc.wide.ad.jp>2020-01-18 18:57:48 +0900
commitb615942abb0445849e81cbbb2fcdbf98a0bfbdf0 (patch)
tree24c9b269e9a3ad24e6c54e020ec67eda7e813f3b /internal
parentc899a95b274906d83c0c272e723d557259c86f20 (diff)
bug fix in zebra integration for frr7.2
Diffstat (limited to 'internal')
-rw-r--r--internal/pkg/zebra/zapi.go2
1 files changed, 1 insertions, 1 deletions
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{}