def GetDefaultGateway():
  if _GetPlatform() in [DARWIN, LINUX]:
    default = 'default'
  else:
    logging.error('Unknown platform %s', _GetPlatform())

  return GetNetworkGateway(default)
Gets the default gateway.
dataset/ETHPy150Open google/simian/src/simian/mac/client/network_detect.py/GetDefaultGateway