diff options
author | Brian Somers <brian@FreeBSD.org> | 1999-05-31 23:57:40 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1999-05-31 23:57:40 +0000 |
commit | 1d1fc0171ef9061517a58ab70a7d0e2e8de33977 (patch) | |
tree | bf74e4fcdd424aa09133fd467573709819c78df2 /usr.sbin/ppp/bundle.c | |
parent | 114278b089f1e2763490426376d1736cc7996720 (diff) | |
download | src-test2-1d1fc0171ef9061517a58ab70a7d0e2e8de33977.tar.gz src-test2-1d1fc0171ef9061517a58ab70a7d0e2e8de33977.zip |
Notes
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r-- | usr.sbin/ppp/bundle.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 0e47f81a554e..757621b7ff33 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bundle.c,v 1.53 1999/05/12 09:48:41 brian Exp $ + * $Id: bundle.c,v 1.54 1999/05/27 08:42:15 brian Exp $ */ #include <sys/param.h> @@ -1710,3 +1710,13 @@ bundle_Exception(struct bundle *bundle, int fd) return 0; } + +void +bundle_AdjustFilters(struct bundle *bundle, struct in_addr *my_ip, + struct in_addr *peer_ip) +{ + filter_AdjustAddr(&bundle->filter.in, my_ip, peer_ip); + filter_AdjustAddr(&bundle->filter.out, my_ip, peer_ip); + filter_AdjustAddr(&bundle->filter.dial, my_ip, peer_ip); + filter_AdjustAddr(&bundle->filter.alive, my_ip, peer_ip); +} |