summaryrefslogtreecommitdiffstats
path: root/sshuttle/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'sshuttle/server.py')
-rw-r--r--sshuttle/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/server.py b/sshuttle/server.py
index d353a5d..b6f6604 100644
--- a/sshuttle/server.py
+++ b/sshuttle/server.py
@@ -25,7 +25,7 @@ def _ipmatch(ipstr):
# FIXME: IPv4 only
if ipstr == 'default':
ipstr = '0.0.0.0/0'
- m = re.match('^(\d+(\.\d+(\.\d+(\.\d+)?)?)?)(?:/(\d+))?$', ipstr)
+ m = re.match(r'^(\d+(\.\d+(\.\d+(\.\d+)?)?)?)(?:/(\d+))?$', ipstr)
if m:
g = m.groups()
ips = g[0]