aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ippool.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-12 12:55:04 +0200
committerHarald Welte <laforge@gnumonks.org>2017-09-05 22:42:18 +0200
commit4857f3c2f39a12da1fc984dd65cbda9a3028ac03 (patch)
tree44253788559bc2f779d6d3f06127a1779a081091 /lib/ippool.h
parentb513b951bdd9a7bb2d55a0d77fe7e3403448d2dd (diff)
lib/ippool: Move ippool_aton() out of ippool_new()
we rather pass the in46_prefix directly into ippool_new() Change-Id: Iadf6274e881a9bfc75eb41f9380f5ae2d8c92a0f
Diffstat (limited to 'lib/ippool.h')
-rw-r--r--lib/ippool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ippool.h b/lib/ippool.h
index 8249b7f..fbac66d 100644
--- a/lib/ippool.h
+++ b/lib/ippool.h
@@ -71,8 +71,8 @@ struct ippoolm_t {
extern unsigned long int ippool_hash(struct in46_addr *addr);
/* Create new address pool */
-extern int ippool_new(struct ippool_t **this, const char *dyn, const char *stat,
- int allowdyn, int allowstat, int flags);
+extern int ippool_new(struct ippool_t **this, const struct in46_prefix *dyn,
+ const struct in46_prefix *stat, int flags);
/* Delete existing address pool */
extern int ippool_free(struct ippool_t *this);