From 96d494ad261e1635b1168bf53b613b866d06f086 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 25 Oct 1996 03:14:46 +0000 Subject: Thu Oct 24 22:38:55 1996 Thomas Bushnell, n/BSG * main.c (main): Call setup_loopback_device before parsing args (and thus before the ethernet device shows up). * loopback.c: New file. * Makefile (SRCS): Add loopback.c. * pfinet.h (loopback_dev): New variable. * pfinet.h (ip_rt_del): New prototype. --- pfinet/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pfinet/main.c') diff --git a/pfinet/main.c b/pfinet/main.c index 0df713e4..64c8a664 100644 --- a/pfinet/main.c +++ b/pfinet/main.c @@ -210,6 +210,8 @@ main (int argc, arrange_shutdown_notification (); + setup_loopback_device ("loopback"); + /* Parse options. */ argp_parse (&pfinet_argp, argc, argv, 0,0,0); -- cgit v1.2.3