(interface=None)
return str(interface.interfaceName())
Return the BSD name of the interface.

  Args:
    interface: the CWInterface to operate on.

  Returns:
    str: the BSD name of the interface, e.g. en0
Return the BSD name of the interface.
Return the BSD name of the interface .
def GetInterfaceName(interface=None):
  """Return the BSD name of the interface.

  Args:
    interface: the CWInterface to operate on.

  Returns:
    str: the BSD name of the interface, e.g. en0
  """
  if not interface:
    interface = GetDefaultInterface()
    if not interface:
      return None

  return str(interface.interfaceName())
def GetInterfaceName ( interface = None ) : if not interface : interface = GetDefaultInterface ( ) if not interface : return None return str ( interface . interfaceName ( ) )