pespin has uploaded this change for review.

View Change

client: constify args in can_forward_packet()

Change-Id: I3568b962fea7d0e34b68f75cea7b59b1df158238
---
M src/osmo_client_core.c
1 file changed, 3 insertions(+), 3 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/47/39947/1
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;

To view, visit change 39947. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Change-Id: I3568b962fea7d0e34b68f75cea7b59b1df158238
Gerrit-Change-Number: 39947
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>