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-08-12 18:23:25 +0200
commitf4c29c1225629aefe1513f2a43291919a148c1a5 (patch)
tree1dcbc9225ce6622be2acb4ec9414c15bc8a43b96 /lib/ippool.h
parentb7829076cd8371005f2f864ffd59dc9dc0db58a0 (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);