aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/libalias/alias_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/libalias/alias_db.c')
-rw-r--r--sys/netinet/libalias/alias_db.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_db.c
index 408fcdd146f3..7fb3b280f9a9 100644
--- a/sys/netinet/libalias/alias_db.c
+++ b/sys/netinet/libalias/alias_db.c
@@ -2239,20 +2239,6 @@ PacketAliasAddServer(struct alias_link *link, struct in_addr addr, u_short port)
return (-1);
}
-/* Translate PPTP packets to a machine on the inside
- * XXX This function is made obsolete by PacketAliasRedirectProto().
- */
-int
-PacketAliasPptp(struct in_addr src_addr)
-{
-
- if (src_addr.s_addr != INADDR_NONE)
- (void)PacketAliasRedirectProto(src_addr, nullAddress, nullAddress,
- IPPROTO_GRE);
-
- return 1;
-}
-
/* Redirect packets of a given IP protocol from a specific
public address to a private address */
struct alias_link *