diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-16 00:31:40 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-16 00:31:40 +0200 |
commit | b247d6df8161eb3dfd9f99002b541b72e2b1ac9f (patch) | |
tree | 451bdc46e70548e686371585f0938e7a44828b5b /include/osmocom/netif/ipa.h | |
parent | 4ab29914389f850b5ca9f1f44ce90e9f25076960 (diff) |
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).
Diffstat (limited to 'include/osmocom/netif/ipa.h')
-rw-r--r-- | include/osmocom/netif/ipa.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |