diff options
author | brian <brian@FreeBSD.org> | 2000-03-14 01:47:27 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-14 01:47:27 +0000 |
commit | 1bc8ab9f4fde76438c6683101c2d510c86e8d978 (patch) | |
tree | 04d2970ad1d86e4a24bfa1b4c7a2b7e16e96b535 /usr.sbin/ppp/filter.h | |
parent | 041ec329dc4111a616c48d22712dfcaf9cbfe9bb (diff) | |
download | FreeBSD-src-1bc8ab9f4fde76438c6683101c2d510c86e8d978.zip FreeBSD-src-1bc8ab9f4fde76438c6683101c2d510c86e8d978.tar.gz |
Add the ``resolv'' command for telling ppp how to deal with resolv.conf.
You can now ``resolv restore'' in ppp.linkdown !
Add DNS0 and DNS1 macros.
Diffstat (limited to 'usr.sbin/ppp/filter.h')
-rw-r--r-- | usr.sbin/ppp/filter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/filter.h b/usr.sbin/ppp/filter.h index 03922cd..ce6f2e2 100644 --- a/usr.sbin/ppp/filter.h +++ b/usr.sbin/ppp/filter.h @@ -43,6 +43,8 @@ #define T_ADDR 0 #define T_MYADDR 1 #define T_HISADDR 2 +#define T_DNS0 3 +#define T_DNS1 4 /* * There's a struct filterent for each possible filter rule. The @@ -107,4 +109,4 @@ extern const char *filter_Proto2Nam(int); extern const char *filter_Op2Nam(int); extern struct in_addr bits2mask(int); extern void filter_AdjustAddr(struct filter *, struct in_addr *, - struct in_addr *); + struct in_addr *, struct in_addr [2]); |