cvs commit: src/sbin/ifconfig ifconfig.c

Yar Tikhiy yar at FreeBSD.org
Mon Jan 30 05:37:40 PST 2006


yar         2006-01-30 13:37:34 UTC

  FreeBSD src repository

  Modified files:
    sbin/ifconfig        ifconfig.c 
  Log:
  Do address assignment/removal operations after callbacks.
  
  Presently, ifconfig callbacks are used for L2 configuration, media
  and vlan, so actions associated with address assignment, like sending
  out a gratuitous ARP, should go when L2 is running already.
  
  This also should fix the problem with setting up vlan interfaces
  from rc.conf, when both IP and vlan+vlandev parameters are passed
  to ifconfig at once.
  
  Future work: Consider introducing several ifconfig callback lists
  to invoke callbacks orderly.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.117     +6 -7      src/sbin/ifconfig/ifconfig.c


More information about the cvs-src mailing list