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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/4812 remove unused argument to alloc_ippool_blacklist() Change-Id: I4d3ea077ba46446e537ec9a6de6f4080fcaa428c --- M ggsn/ggsn.c 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/12/4812/1 diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 999bc3a..9d55ffb 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -147,7 +147,7 @@ } -static int alloc_ippool_blacklist(struct apn_ctx *apn, const struct tun_t *tun, struct in46_prefix **blacklist, bool ipv6) +static int alloc_ippool_blacklist(struct apn_ctx *apn, struct in46_prefix **blacklist, bool ipv6) { int flags, len, len2, i; @@ -275,7 +275,7 @@ if (apn->v4.cfg.dynamic_prefix.addr.len) { LOGPAPN(LOGL_INFO, apn, "Creating IPv4 pool %s\n", in46p_ntoa(&apn->v4.cfg.dynamic_prefix)); - if ((blacklist_size = alloc_ippool_blacklist(apn, apn->tun.tun, &blacklist, false)) < 0) + if ((blacklist_size = alloc_ippool_blacklist(apn, &blacklist, false)) < 0) LOGPAPN(LOGL_ERROR, apn, "Failed obtaining IPv4 tun IPs\n"); if (ippool_new(&apn->v4.pool, &apn->v4.cfg.dynamic_prefix, &apn->v4.cfg.static_prefix, ippool_flags, @@ -292,7 +292,7 @@ if (apn->v6.cfg.dynamic_prefix.addr.len) { LOGPAPN(LOGL_INFO, apn, "Creating IPv6 pool %s\n", in46p_ntoa(&apn->v6.cfg.dynamic_prefix)); - if ((blacklist_size = alloc_ippool_blacklist(apn, apn->tun.tun, &blacklist, true)) < 0) + if ((blacklist_size = alloc_ippool_blacklist(apn, &blacklist, true)) < 0) LOGPAPN(LOGL_ERROR, apn, "Failed obtaining IPv6 tun IPs\n"); if (ippool_new(&apn->v6.pool, &apn->v6.cfg.dynamic_prefix, &apn->v6.cfg.static_prefix, ippool_flags, -- To view, visit https://gerrit.osmocom.org/4812 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4d3ea077ba46446e537ec9a6de6f4080fcaa428c Gerrit-PatchSet: 1 Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>