summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-29 02:02:34 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-29 02:02:34 +0000
commit5e47a25ec32ee847a0f47c8cc9b010e0e598bfd6 (patch)
treef9bdf721bcbe72187de454c7fbd5abf23f0d9191
parent8ace0bc640170a62b0b9bb8178808d8a31103f91 (diff)
Remove unnecessary argument from ipe4_output() and etherip_output()
-rw-r--r--sys/netinet/ip_ip4.c5
-rw-r--r--sys/netinet/ip_ipsp.h8
2 files changed, 5 insertions, 8 deletions
diff --git a/sys/netinet/ip_ip4.c b/sys/netinet/ip_ip4.c
index a30f1465ae2..b715b9c508a 100644
--- a/sys/netinet/ip_ip4.c
+++ b/sys/netinet/ip_ip4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ip4.c,v 1.32 1999/10/29 01:50:34 angelos Exp $ */
+/* $OpenBSD: ip_ip4.c,v 1.33 1999/10/29 02:02:33 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -273,8 +273,7 @@ ip4_input(m, va_alist)
#ifdef IPSEC
int
-ipe4_output(struct mbuf *m, struct sockaddr_encap *gw, struct tdb *tdb,
- struct mbuf **mp)
+ipe4_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp)
{
struct ip *ipo, *ipi;
ushort ilen;
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index 226f975c983..791233a1815 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.43 1999/10/28 03:08:34 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.44 1999/10/29 02:02:33 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -467,14 +467,12 @@ extern struct flow *find_global_flow(union sockaddr_union *,
extern int ipe4_attach(void);
extern int ipe4_init(struct tdb *, struct xformsw *, struct ipsecinit *);
extern int ipe4_zeroize(struct tdb *);
-extern int ipe4_output(struct mbuf *, struct sockaddr_encap *, struct tdb *,
- struct mbuf **);
+extern int ipe4_output(struct mbuf *, struct tdb *, struct mbuf **);
extern void ipe4_input __P((struct mbuf *, ...));
extern void ip4_input __P((struct mbuf *, ...));
/* XF_ETHERIP */
-extern int etherip_output(struct mbuf *, struct sockaddr_encap *, struct tdb *,
- struct mbuf **);
+extern int etherip_output(struct mbuf *, struct tdb *, struct mbuf **);
extern void etherip_input __P((struct mbuf *, ...));
/* XF_OLD_AH */