Unverified Commit 4b500c77 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Use slirp with rtl8139 adaptor (#876)

parent 3bf738cd
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -778,7 +778,13 @@ else

  esac

  [[ "${NETWORK,,}" == "user"* ]] && NETWORK="passt"
  if [[ "${NETWORK,,}" == "user"* ]]; then
    if [[ "${ADAPTER,,}" != "rtl8139" ]]; then
      NETWORK="passt"
    else
      NETWORK="slirp"
    fi
  fi

  case "${NETWORK,,}" in
    "nat" | "tap" | "tun" | "tuntap" | "y" ) ;;