diff options
-rw-r--r-- | proto_ip_authentication_hdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_ip_authentication_hdr.c b/proto_ip_authentication_hdr.c index 2d5f57c..6640918 100644 --- a/proto_ip_authentication_hdr.c +++ b/proto_ip_authentication_hdr.c @@ -33,7 +33,7 @@ static void auth_hdr(struct pkt_buff *pkt) auth_ops = (struct auth_hdr *) pkt_pull(pkt, sizeof(*auth_ops)); if (auth_ops == NULL) return; - + hdr_len = (auth_ops->h_payload_len * 4) + 8; tprintf(" [ Authentication Header "); @@ -69,7 +69,7 @@ static void auth_hdr_less(struct pkt_buff *pkt) auth_ops = (struct auth_hdr *) pkt_pull(pkt, sizeof(*auth_ops)); if (auth_ops == NULL) return; - + hdr_len = (auth_ops->h_payload_len * 4) + 8; if (hdr_len > pkt_len(pkt) || hdr_len < 0) return; |