summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/zebra/zapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/zebra/zapi.go')
-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{}