diff options
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c index d073428..abd30fe 100644 --- a/src/network.c +++ b/src/network.c @@ -249,6 +249,7 @@ int build_network_msg(const int msg_type, { memset(buffer, 0, size); buffer += sizeof(struct nlnetwork); + size -= sizeof(struct nlnetwork); return nfct_build_query(ssh, msg_type, ct, buffer, size); } |