]> 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)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 2 Mar 2022 16:07:30 +0000 (17:07 +0100)
print-esp.c

index 4850d4a14c13c39b035baafe75cc233e9fba279d..1e68c9d76cb6b4d8c8227d55b9e6ac4b5a41140f 100644 (file)
@@ -339,7 +339,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" */