home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / N / TCPIP / NET-TOOL.000 / net-tools-1.1.79.diff
Encoding:
Text File  |  1995-02-18  |  1.3 KB  |  61 lines

  1. --- Makefile.orig    Sat Feb 18 10:22:46 1995
  2. +++ Makefile    Sat Feb 18 10:23:30 1995
  3. @@ -24,16 +24,16 @@
  4.  
  5.  .EXPORT_ALL_VARIABLES:
  6.  
  7. -CC    = cc -O6 -Wall
  8. -LD    = cc
  9. +CC    = gcc -O6 -Wall
  10. +LD    = gcc
  11.  
  12.  CFLAGS    = -I. -I.. -Ilib -I../lib -DLINUX #-DDEBUG
  13. -LDFLAGS    = -Llib -L../lib -N -s
  14. +LDFLAGS    = -Llib -L../lib -s
  15.  
  16.  LIBS    = -lsupport
  17.  
  18.  
  19. -PROGS    = ifconfig hostname arp netstat route slattach rarp plipconfig dnsdomainname ipfw
  20. +PROGS    = ifconfig hostname arp netstat route slattach rarp plipconfig dnsdomainname 
  21.  SUBDIRS    = 
  22.  
  23.  .c.o:        $<
  24. @@ -93,9 +93,6 @@
  25.  
  26.  netstat:    lib/libsupport.a netstat.o
  27.          $(CC) $(LDFLAGS) -o netstat netstat.o $(LIBS)
  28. -
  29. -ipfw:        ipfw.o
  30. -        $(CC) $(LDFLAGS) -o ipfw ipfw.o $(LIBS)
  31.  
  32.  dnsdomainname:    hostname
  33.          ln -f hostname dnsdomainname
  34. --- plipconfig.c.orig    Sat Feb 18 10:19:41 1995
  35. +++ plipconfig.c    Sat Feb 18 10:19:33 1995
  36. @@ -55,7 +55,7 @@
  37.  
  38.  void print_plip(void)
  39.  {
  40. -    printf("%s\tnibble %lu  trigger %lu unit  %lu\n", ifr.ifr_name, plip->nibble, plip->trigger, plip->unit);
  41. +    printf("%s\tnibble %lu  trigger %lu \n", ifr.ifr_name, plip->nibble, plip->trigger);
  42.  }
  43.  
  44.  int main(int argc, char **argv)
  45. @@ -111,13 +111,13 @@
  46.          spp++;
  47.          continue;
  48.      }
  49. -    if (!strcmp(*spp, "unit")) {
  50. +/*    if (!strcmp(*spp, "unit")) {
  51.          if (*++spp == NULL)
  52.          usage();
  53.          plip->unit = atoi(*spp);
  54.          spp++;
  55.          continue;
  56. -    }
  57. +    } */
  58.      usage();
  59.      }
  60.  
  61.