diff options
author | brian <brian@FreeBSD.org> | 1999-03-07 18:13:23 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-03-07 18:13:23 +0000 |
commit | 8b7bf74482a8f02d04eb893476a0bbe5281f9741 (patch) | |
tree | 42186b4d61eef545efa4530a2d0c37bbf7e3344c /lib/libalias/alias_db.c | |
parent | b9bb81ebe91a019d06d369e5b9cab41fc482d0a0 (diff) | |
download | FreeBSD-src-8b7bf74482a8f02d04eb893476a0bbe5281f9741.zip FreeBSD-src-8b7bf74482a8f02d04eb893476a0bbe5281f9741.tar.gz |
Document PacketAliasPptp() and allow it to be disabled
by passing INADDR_NONE.
Diffstat (limited to 'lib/libalias/alias_db.c')
-rw-r--r-- | lib/libalias/alias_db.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalias/alias_db.c b/lib/libalias/alias_db.c index c1d6985..bd730ba 100644 --- a/lib/libalias/alias_db.c +++ b/lib/libalias/alias_db.c @@ -1953,8 +1953,7 @@ PacketAliasPptp(struct in_addr src_addr) { pptpAliasAddr = src_addr; /* Address of the inside PPTP machine */ - pptpAliasFlag = 1; - + pptpAliasFlag = src_addr.s_addr != INADDR_NONE; return 1; } |