flycast/core/deps/miniupnpc/external-ip.sh

5 lines
161 B
Bash
Raw Normal View History

2020-12-28 11:35:58 +00:00
#!/bin/sh
# $Id: external-ip.sh,v 1.1 2010/08/05 12:57:41 nanard Exp $
# (c) 2010 Reuben Hawkins
upnpc -s | sed -n -e 's/^ExternalIPAddress = \([0-9.]*\)$/\1/p'