Peter Memishian wrote:
>  >      validate_interface could just do 'dladm show-dev $1 > /dev/null
>  >      2>&1' and test the result.
> 
> With the caveat that show-dev disappeared in build 105 (but it probably
> wasn't what validate_interface was looking for anyway, given that it keyed
> off of device names, not datalinks or IP interfaces).  I'd need to know
> what validate_interface is trying to do to suggest an alternative approach.
> 

Hi Meem,

Given an interface name, validate_interface verifies it's a valid 
physical interface on the system. Looks like 'dladm show-phys' is what I 
need. Let me know if there's better alternative.

Thanks in advance,
tony


Reply via email to