diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-10-25 03:14:46 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-10-25 03:14:46 +0000 |
commit | 96d494ad261e1635b1168bf53b613b866d06f086 (patch) | |
tree | 89a7b759de1ac3122acb0207dec2d63c88c6b59d /pfinet/main.c | |
parent | 0ffdd2c1c4bb58c395ee8a283c94fb0cc9034201 (diff) |
Thu Oct 24 22:38:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* 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.
Diffstat (limited to 'pfinet/main.c')
-rw-r--r-- | pfinet/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |