diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-11-17 18:22:53 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-11-17 18:22:53 +0000 |
commit | fc91e6bc4a6345be0e3ab42503cc12aec6b9460c (patch) | |
tree | a4489d84246b92666ec1683f849d668ba6e9c719 /sys/net | |
parent | a6a2a2b48bed09769be77de90f7028abd660b6e3 (diff) |
Rename etherip sysctl handler, there's no conflict with ip_ether.c any more
ok visa@ mpi@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_etherip.c | 4 | ||||
-rw-r--r-- | sys/net/if_etherip.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_etherip.c b/sys/net/if_etherip.c index 8eac395cb2c..8d6e628c9c1 100644 --- a/sys/net/if_etherip.c +++ b/sys/net/if_etherip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_etherip.c,v 1.26 2017/11/17 14:52:50 jca Exp $ */ +/* $OpenBSD: if_etherip.c,v 1.27 2017/11/17 18:22:52 jca Exp $ */ /* * Copyright (c) 2015 Kazuya GODA <goda@openbsd.org> * @@ -650,7 +650,7 @@ etherip_sysctl_etheripstat(void *oldp, size_t *oldlenp, void *newp) } int -ip_etherip_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, +etherip_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) { int error; diff --git a/sys/net/if_etherip.h b/sys/net/if_etherip.h index a37a9f2e4d0..c95c03ef883 100644 --- a/sys/net/if_etherip.h +++ b/sys/net/if_etherip.h @@ -68,7 +68,7 @@ struct etherip_header { #endif /* 0 */ -int ip_etherip_sysctl(int *, uint, void *, size_t *, void *, size_t); +int etherip_sysctl(int *, uint, void *, size_t *, void *, size_t); int ip_etherip_output(struct ifnet *, struct mbuf *); int ip_etherip_input(struct mbuf **, int *, int, int); |