Update of /cvsroot/leaf/src/bering-uclibc4/source/dhcfind
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12621

Modified Files:
        dhcfind dhcfind.conf 
Log Message:
bugfixes


Index: dhcfind
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/dhcfind/dhcfind,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** dhcfind     13 Dec 2010 16:49:12 -0000      1.2
--- dhcfind     13 Dec 2010 18:07:43 -0000      1.3
***************
*** 12,16 ****
  touch $LOCK
  
! ifaces=`ip a|awk "/$IFACEEXP/"'{ sub(/:/,"",$2); print $2}'`
  
  for i in $ifaces; do
--- 12,16 ----
  touch $LOCK
  
! ifaces=`ip a|awk "/$IFACEEXP/"'{ sub(/:/,"",$2); split($2,a,"@"); print 
$a[1]}'|sort|uniq`
  
  for i in $ifaces; do

Index: dhcfind.conf
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/dhcfind/dhcfind.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** dhcfind.conf        13 Dec 2010 16:49:12 -0000      1.2
--- dhcfind.conf        13 Dec 2010 18:07:43 -0000      1.3
***************
*** 1,3 ****
! IFACEEXP='(eth|vlan1)[0-9]+:'
  AGGR=0
  URL=http://address.com/dhcp.cgi
--- 1,3 ----
! IFACEEXP=' (eth|vlan[1-4])[0-9]+[@:]'
  AGGR=0
  URL=http://address.com/dhcp.cgi


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
leaf-cvs-commits mailing list
leaf-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to