Diff for /src/sys/net/if.c between versions 1.9 and 1.10

version 1.9, 2003/11/09 02:22:36 version 1.10, 2003/12/30 01:01:48
Line 1647  ifmaof_ifpforaddr(sa, ifp) Line 1647  ifmaof_ifpforaddr(sa, ifp)
         return ifma;          return ifma;
 }  }
   
   /*
    * The name argument must be a pointer to storage which will last as
    * long as the interface does.  For physical devices, the result of
    * device_get_name(dev) is a good choice and for pseudo-devices a
    * static string works well.
    */
   void
   if_initname(struct ifnet *ifp, const char *name, int unit)
   {
           ifp->if_name = name;    /* XXX change to dname */
           ifp->if_unit = unit;    /* XXX change to dunit */
           if (unit != IF_DUNIT_NONE)
                   snprintf(ifp->if_xname, IFNAMSIZ, "%s%d", name, unit);
           else
                   strlcpy(ifp->if_xname, name, IFNAMSIZ);
   }
   
 int  int
 if_printf(struct ifnet *ifp, const char *fmt, ...)  if_printf(struct ifnet *ifp, const char *fmt, ...)
 {  {

Removed from v.1.9  
changed lines
  Added in v.1.10