summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-08-09 09:13:54 +0000
committerbrian <brian@FreeBSD.org>1998-08-09 09:13:54 +0000
commit5895e6980afbdca08ff9a9f67d889a499e2eb9b9 (patch)
treeeeddf784ea078c9ed2b591a5b517c2749e9cb9ad /usr.sbin/ppp/main.c
parent5328be2c72edb8ebf7de6c49b3ec7eace9ddb89d (diff)
downloadFreeBSD-src-5895e6980afbdca08ff9a9f67d889a499e2eb9b9.zip
FreeBSD-src-5895e6980afbdca08ff9a9f67d889a499e2eb9b9.tar.gz
Don't forget to call PacketAliasInit().
PR: 7515
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 408e5e9..e84192d 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.140 1998/08/02 06:56:40 brian Exp $
+ * $Id: main.c,v 1.141 1998/08/07 18:42:49 brian Exp $
*
* TODO:
*/
@@ -28,6 +28,9 @@
#include <netinet/ip.h>
#include <sys/un.h>
+#ifndef NOALIAS
+#include <alias.h>
+#endif
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
@@ -258,6 +261,9 @@ main(int argc, char **argv)
name = strrchr(argv[0], '/');
log_Open(name ? name + 1 : argv[0]);
+#ifndef NOALIAS
+ PacketAliasInit();
+#endif
label = ProcessArgs(argc - 1, argv + 1, &mode, &alias);
#ifdef __FreeBSD__
OpenPOWER on IntegriCloud