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.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9506
Change subject: bsc-nat: bsc_nat_filter_ipa: Improve documentation
......................................................................
bsc-nat: bsc_nat_filter_ipa: Improve documentation
Change-Id: I91b18aeb8bdc2a1b392474318b1df1b4b1fee5a3
---
M openbsc/src/osmo-bsc_nat/bsc_filter.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/06/9506/1
diff --git a/openbsc/src/osmo-bsc_nat/bsc_filter.c b/openbsc/src/osmo-bsc_nat/bsc_filter.c
index 6a9e99f..ddfcdcb 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_filter.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_filter.c
@@ -135,6 +135,8 @@
return parsed;
}
+/* Returns 0 if message is whitelisted (has to beforwarded by bsc-nat), 1 if
+/* it's blacklisted (not to be forwarded) */
int bsc_nat_filter_ipa(int dir, struct msgb *msg, struct bsc_nat_parsed *parsed)
{
int i;
@@ -177,7 +179,7 @@
}
}
- /* go through the whitelust now */
+ /* go through the whitelist now */
for (i = 0; i < ARRAY_SIZE(white_list); ++i) {
/* ignore the rule? */
if (white_list[i].filter_dir != FILTER_TO_BOTH
--
To view, visit https://gerrit.osmocom.org/9506
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I91b18aeb8bdc2a1b392474318b1df1b4b1fee5a3
Gerrit-Change-Number: 9506
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/20180608/8d48e191/attachment.htm>