pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcap/+/39947?usp=email )
(
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: client: constify args in can_forward_packet() ......................................................................
client: constify args in can_forward_packet()
Change-Id: I3568b962fea7d0e34b68f75cea7b59b1df158238 --- M src/osmo_client_core.c 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/src/osmo_client_core.c b/src/osmo_client_core.c index 7df14ca..62b2c3c 100644 --- a/src/osmo_client_core.c +++ b/src/osmo_client_core.c @@ -101,9 +101,9 @@ }
static int can_forward_packet( - struct osmo_pcap_client *client, - struct osmo_pcap_handle *ph, - struct pcap_pkthdr *hdr, + const struct osmo_pcap_client *client, + const struct osmo_pcap_handle *ph, + const struct pcap_pkthdr *hdr, const u_char *data) { int ll_type;