summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-02-25 20:05:55 +0000
committerbrian <brian@FreeBSD.org>1999-02-25 20:05:55 +0000
commit909314a3a7d15c37f170149208b7e71611ae2a35 (patch)
treeafdc682e8f39824684da2407e9680b1c33720bb8 /usr.sbin/ppp/defs.h
parenta3fa9785d059a69334c6d4842a24d0e8300c8300 (diff)
downloadFreeBSD-src-909314a3a7d15c37f170149208b7e71611ae2a35.zip
FreeBSD-src-909314a3a7d15c37f170149208b7e71611ae2a35.tar.gz
Parse IP addresses more securely - specifically, don't allow
a bum name to return as 0.0.0.0... we don't want ``delete xxx'' to delete the default route when xxx doesn't resolve. Support IP number specifications as the host when specifying a tcp-style device (rather than *just* hostnames).
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index ea64cdf..686df25 100644
--- a/usr.sbin/ppp/defs.h
+++ b/usr.sbin/ppp/defs.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: defs.h,v 1.38 1999/02/11 10:14:08 brian Exp $
+ * $Id: defs.h,v 1.39 1999/02/16 00:16:56 brian Exp $
*
* TODO:
*/
@@ -93,3 +93,4 @@ extern void randinit(void);
extern ssize_t fullread(int, void *, size_t);
extern const char *mode2Nam(int);
extern int Nam2mode(const char *);
+extern struct in_addr GetIpAddr(const char *);
OpenPOWER on IntegriCloud