[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get an IP address



On Tue, 15 Nov 2011 16:40:42 -0700, Bob Proulx wrote:

> It should probably anchor on the "inet" part. . . 

Thanks for your meticulous. 

> Curious.  Why are you adding the family restriction with "-f inet"?

Oh, The script will change for IPv6 anyway. The few output from ip 
command make it runs 0.000001 second faster, :-) 

cheers

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: