diff options
author | Neale Ranns <neale@graphiant.com> | 2021-01-14 10:04:44 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-01-21 11:00:14 +0000 |
commit | 1523c96deb2bc2f03e7823be4545342309da18fc (patch) | |
tree | e6e3f0fc5da11ff81aa08653fed6be33f99b5408 /src/plugins/ikev2/ikev2.c | |
parent | f2984bbb013acb0d6872e8fbb2f9d57d3e4f49b9 (diff) |
ip: Use correct enum type in ip_address_set
Type: refactor
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Ice2bc42838e6d5ba579f449c3f8b0feffebeb719
Diffstat (limited to 'src/plugins/ikev2/ikev2.c')
-rw-r--r-- | src/plugins/ikev2/ikev2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ikev2/ikev2.c b/src/plugins/ikev2/ikev2.c index c9a86475ac6..d6ee8f592e2 100644 --- a/src/plugins/ikev2/ikev2.c +++ b/src/plugins/ikev2/ikev2.c @@ -2784,8 +2784,8 @@ ikev2_rewrite_v4_addrs (ikev2_sa_t * sa, ip4_header_t * ih) } static_always_inline void -ikev2_set_ip_address (ikev2_sa_t * sa, const void *iaddr, - const void *raddr, const int af) +ikev2_set_ip_address (ikev2_sa_t *sa, const void *iaddr, const void *raddr, + const ip_address_family_t af) { ip_address_set (&sa->raddr, raddr, af); ip_address_set (&sa->iaddr, iaddr, af); |