[BACK]Return to nfs_bootdhcp.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / nfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/nfs/nfs_bootdhcp.c between version 1.14 and 1.15

version 1.14, 2000/03/29 03:43:34 version 1.15, 2000/05/28 07:01:09
Line 144  struct bootp {
Line 144  struct bootp {
  * Perhaps (struct arphdr)->ar_hrd = ARPHRD_ETHER?   * Perhaps (struct arphdr)->ar_hrd = ARPHRD_ETHER?
  * The interface has ->if_type but not the ARP fmt.   * The interface has ->if_type but not the ARP fmt.
  */   */
 #define HTYPE_ETHERNET            1  #define HTYPE_ETHERNET          1
   #define HTYPE_IEEE802           6
   
 /*  /*
  * Vendor magic cookie (v_magic) for RFC1048   * Vendor magic cookie (v_magic) for RFC1048
Line 461  bootpc_call(nd, procp)
Line 462  bootpc_call(nd, procp)
         /* Record our H/W (Ethernet) address. */          /* Record our H/W (Ethernet) address. */
         {       struct sockaddr_dl *sdl = ifp->if_sadl;          {       struct sockaddr_dl *sdl = ifp->if_sadl;
                 switch (sdl->sdl_type) {                  switch (sdl->sdl_type) {
                       case IFT_ISO88025:
                           hafmt = HTYPE_IEEE802;
                           break;
                     case IFT_ETHER:                      case IFT_ETHER:
                     case IFT_FDDI:                      case IFT_FDDI:
                         hafmt = HTYPE_ETHERNET;                          hafmt = HTYPE_ETHERNET;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>