cvs commit: src/sbin/ifconfig ifconfig.c

From: Yar Tikhiy <>
Date: Mon, 30 Jan 2006 13:37:34 +0000 (UTC)
yar         2006-01-30 13:37:34 UTC

  FreeBSD src repository

  Modified files:
    sbin/ifconfig        ifconfig.c 
  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
Received on Mon Jan 30 2006 - 13:37:40 UTC