From b247d6df8161eb3dfd9f99002b541b72e2b1ac9f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 16 Aug 2012 00:31:40 +0200 Subject: ipa: change osmo_ipa_rcvmsg_base to take argument depending on role If we're acting as client, we don't have to reply ID_ACK to one received ID_ACK (otherwise, we enter a loop). --- include/osmocom/netif/ipa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom/netif/ipa.h') diff --git a/include/osmocom/netif/ipa.h b/include/osmocom/netif/ipa.h index 152ea24..5c815cd 100644 --- a/include/osmocom/netif/ipa.h +++ b/include/osmocom/netif/ipa.h @@ -65,7 +65,7 @@ struct ipaccess_unit { struct osmo_fd; struct tlv_parsed; -int osmo_ipa_rcvmsg_base(struct msgb *msg, struct osmo_fd *bfd); +int osmo_ipa_rcvmsg_base(struct msgb *msg, struct osmo_fd *bfd, int server); int osmo_ipa_idtag_parse(struct tlv_parsed *dec, unsigned char *buf, int len); int osmo_ipa_parse_unitid(const char *str, struct ipaccess_unit *unit_data); -- cgit v1.2.3