Skip to content

Commit fde4152

Browse files
committed
netcomms: fix bad length for intercept common message
Encryption keys are no longer sent in these messages, just the encryption type so accounting for the key length in the message size was incorrect.
1 parent 3cb89eb commit fde4152

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/netcomms.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ int push_lea_withdrawal_onto_net_buffer(net_buffer_t *nb, liagency_t *lea) {
516516
sizeof(common.encrypt) + common.delivcc_len + \
517517
sizeof(common.time_fmt) + \
518518
(36 * common.xid_count) + \
519-
(common.encryptkey_len ? (common.encryptkey_len + 4) : 0) + \
520519
((10 + common.xid_count) * 4))
521520

522521
#define VENDMIRROR_IPINTERCEPT_MODIFY_BODY_LEN(ipint) \

0 commit comments

Comments
 (0)