Update openbsd_connection_share.sh

let's use USB_IFACE instead on the error message.
This commit is contained in:
gonzalo-
2021-10-31 15:18:50 +01:00
committed by GitHub
parent 223d3fb192
commit 359e501d3a

View File

@ -10,6 +10,6 @@ if [ "${USB_IFACE}" == "urndis0" ]; then
echo "match out on egress inet from ${USB_IFACE}:network to any nat-to (egress:0)" | pfctl -f -
echo "sharing connecting from upstream interface to usb interface ${USB_IFACE} ..."
else
echo "can't find usb interface with ip $USB_IP"
echo "can't find usb interface with ip ${USB_IFACE}"
exit 1
fi