mirror of
https://github.com/evilsocket/pwnagotchi.git
synced 2026-01-23 02:24:15 +00:00
Update openbsd_connection_share.sh
let's use USB_IFACE instead on the error message.
This commit is contained in:
parent
223d3fb192
commit
359e501d3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue