summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-11-03 15:10:09 -0400
committerGitHub <noreply@github.com>2021-11-03 15:10:09 -0400
commitf154a68dbe0f489b72ce744ff48001e136c808bc (patch)
tree11cea7bddb3ffa5fbcd2527323300ce454d1cede /zebra/zapi_msg.c
parent91ee7e737b279199c7c7c58e2371f90e5a6a8e7e (diff)
parente108096b1dbb4baec623dd832e8b0d5217778bcb (diff)
Merge pull request #9915 from pguibert6WIND/flowspec_dplane_missing
Flowspec dplane missing
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 61bd1417d1..166c50ac0e 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -893,7 +893,7 @@ void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx,
s = stream_new(ZEBRA_MAX_PACKET_SIZ);
zclient_create_header(s, cmd, VRF_DEFAULT);
- stream_put(s, &note, sizeof(note));
+ stream_putw(s, note);
stream_putl(s, ipt.unique);
stream_put(s, ipt.ipset_name, ZEBRA_IPSET_NAME_SIZE);
stream_putw_at(s, 0, stream_get_endp(s));
@@ -928,7 +928,7 @@ void zsend_ipset_notify_owner(const struct zebra_dplane_ctx *ctx,
s = stream_new(ZEBRA_MAX_PACKET_SIZ);
zclient_create_header(s, cmd, VRF_DEFAULT);
- stream_put(s, &note, sizeof(note));
+ stream_putw(s, note);
stream_putl(s, ipset.unique);
stream_put(s, ipset.ipset_name, ZEBRA_IPSET_NAME_SIZE);
stream_putw_at(s, 0, stream_get_endp(s));
@@ -966,7 +966,7 @@ void zsend_ipset_entry_notify_owner(const struct zebra_dplane_ctx *ctx,
s = stream_new(ZEBRA_MAX_PACKET_SIZ);
zclient_create_header(s, cmd, VRF_DEFAULT);
- stream_put(s, &note, sizeof(note));
+ stream_putw(s, note);
stream_putl(s, ipent.unique);
stream_put(s, ipset.ipset_name, ZEBRA_IPSET_NAME_SIZE);
stream_putw_at(s, 0, stream_get_endp(s));