Change in osmo-pcap[master]: cosmetic: client: rename forward_packet function

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Oct 8 11:36:38 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11266


Change subject: cosmetic: client: rename forward_packet function
......................................................................

cosmetic: client: rename forward_packet function

Function only checks if packet should be forwarded, it doesn't forward
any packet.

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



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/66/11266/1

diff --git a/src/osmo_client_core.c b/src/osmo_client_core.c
index 5208744..e19ae89 100644
--- a/src/osmo_client_core.c
+++ b/src/osmo_client_core.c
@@ -100,7 +100,7 @@
 	return 1;
 }
 
-static int forward_packet(
+static int can_forward_packet(
 			struct osmo_pcap_client *client,
 			struct pcap_pkthdr *hdr,
 			const u_char *data)
@@ -165,7 +165,7 @@
 		return -1;
 	}
 
-	if (!forward_packet(client, &hdr, data))
+	if (!can_forward_packet(client, &hdr, data))
 		return 0;
 
 	osmo_client_send_data(&client->conn, &hdr, data);

-- 
To view, visit https://gerrit.osmocom.org/11266
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I87cd64290245db134b17bc0d6665c58f1cde17b6
Gerrit-Change-Number: 11266
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181008/c439641d/attachment.htm>


More information about the gerrit-log mailing list