]> The Tcpdump Group git mirrors - tcpdump/commitdiff
ESP: Add a const qualifier
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 2 Mar 2022 16:07:30 +0000 (17:07 +0100)
committerGuy Harris <[email protected]>
Sun, 17 Jul 2022 05:49:39 +0000 (22:49 -0700)
(cherry picked from commit 51a470b91366db5d36eb11feb24cfcdb2f7a5d3e)

print-esp.c

index a9ffad55717000e2633d01ea5dfefaa02e5f4003..fb94a60a5c438536e3f718704ed47919f7dcd7be 100644 (file)
@@ -340,7 +340,7 @@ int esp_decrypt_buffer_by_ikev2_print(netdissect_options *ndo,
 DIAG_ON_DEPRECATION
 
 static void esp_print_addsa(netdissect_options *ndo,
-                           struct sa_list *sa, int sa_def)
+                           const struct sa_list *sa, int sa_def)
 {
        /* copy the "sa" */