View | Details | Raw Unified | Return to bug 126628
Collapse All | Expand All

(-)/usr/local/etc/ha.d/resource.d/IPaddr 2008-08-18 18:33:21.000000000 +0300 (-1 / +1 lines)
Lines 105-111 Link Here
105
    case $SYSTYPE in
105
    case $SYSTYPE in
106
      *BSD)
106
      *BSD)
107
               $IFCONFIG | grep "$ipaddr" -B4 | grep "UP," | cut -d ":" -f 1
107
               $IFCONFIG | grep "$ipaddr " -B20 | grep "UP," | tail -n 1 | cut -d ":" -f 1
108
               return 0;;
108
               return 0;;
109
      *)
109
      *)
110
               : "comparing $ipaddr to $addr (from ifconfig)"
110
               : "comparing $ipaddr to $addr (from ifconfig)"

Return to bug 126628