"Fossies" - the Fresh Open Source Software Archive

Member "fake-1.1.11/send_arp.patch" (8 Jul 2009, 1285 Bytes) of package /linux/misc/old/fake-1.1.11.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff -uN send_arp.orig/Makefile send_arp/Makefile
    2 --- send_arp.orig/Makefile  Wed Dec 31 19:00:00 1969
    3 +++ send_arp/Makefile   Thu Oct 29 15:40:47 1998
    4 @@ -0,0 +1,35 @@
    5 +######################################################################
    6 +# Makefile for send_arp                                   October 1998
    7 +# horms                                             horms@vergenet.net
    8 +#
    9 +#
   10 +# Freely distributable under the terms of the 
   11 +# GNU General Public License
   12 +#
   13 +# Note: send_arp was written by:
   14 +#         yuri volobuev'97
   15 +#         volobuev@t1.chem.umn.edu
   16 +#
   17 +#
   18 +# This make file is included to help automation of installation
   19 +#
   20 +######################################################################
   21 +
   22 +ROOT_DIR=
   23 +SRC=send_arp.c
   24 +BIN=send_arp
   25 +BIN_DIR=$(ROOT_DIR)/usr/sbin
   26 +
   27 +.PHONY: all install clean
   28 +
   29 +all: $(BIN)
   30 +
   31 +$(BIN): $(SRC)
   32 +   $(CC) $(SRC) -o $(BIN)
   33 +
   34 +clean:
   35 +   rm -f $(BIN) core $(SRC).*
   36 +
   37 +install:
   38 +   mkdir -p $(BIN_DIR)
   39 +   cp $(BIN) $(BIN_DIR)
   40 diff -uN send_arp.orig/send_arp.c send_arp/send_arp.c
   41 --- send_arp.orig/send_arp.c    Thu Oct 29 15:56:46 1998
   42 +++ send_arp/send_arp.c Thu Oct 29 15:20:43 1998
   43 @@ -21,7 +21,6 @@
   44  #include <errno.h>
   45  #include <netdb.h>
   46  #include <sys/socket.h>
   47 -#include <linux/in.h>
   48  #include <arpa/inet.h>
   49  #include <linux/if_ether.h>