ipresend.c (344833) | ipresend.c (363769) |
---|---|
1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/ipresend.c 344833 2019-03-06 02:37:25Z cy $ */ | 1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/ipresend.c 363769 2020-08-02 04:25:36Z cy $ */ |
2 3/* 4 * ipresend.c (C) 1995-1998 Darren Reed 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 * 8 */ 9#if !defined(lint) --- 23 unchanged lines hidden (view full) --- 33extern struct ipread pcap, iphex, iptext; 34#endif 35 36int opts = 0; 37#ifndef DEFAULT_DEVICE 38# ifdef sun 39char default_device[] = "le0"; 40# else | 2 3/* 4 * ipresend.c (C) 1995-1998 Darren Reed 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 * 8 */ 9#if !defined(lint) --- 23 unchanged lines hidden (view full) --- 33extern struct ipread pcap, iphex, iptext; 34#endif 35 36int opts = 0; 37#ifndef DEFAULT_DEVICE 38# ifdef sun 39char default_device[] = "le0"; 40# else |
41# ifdef ultrix 42char default_device[] = "ln0"; 43# else 44# ifdef __bsdi__ 45char default_device[] = "ef0"; 46# else | |
47char default_device[] = "lan0"; | 41char default_device[] = "lan0"; |
48# endif 49# endif | |
50# endif 51#else 52char default_device[] = DEFAULT_DEVICE; 53#endif 54 55 56static void usage __P((char *)); 57int main __P((int, char **)); --- 84 unchanged lines hidden --- | 42# endif 43#else 44char default_device[] = DEFAULT_DEVICE; 45#endif 46 47 48static void usage __P((char *)); 49int main __P((int, char **)); --- 84 unchanged lines hidden --- |