Include correct documentation URL in error message

This commit is contained in:
Steven Noble 2016-04-30 17:45:07 +10:00 committed by Maximilian Hils
parent cb1119f3ee
commit 96512dd848

View File

@ -32,5 +32,5 @@ class Resolver(object):
if insufficient_priv: if insufficient_priv:
raise RuntimeError( raise RuntimeError(
"Insufficient privileges to access pfctl. " "Insufficient privileges to access pfctl. "
"See http://mitmproxy.org/doc/transparent/osx.html for details.") "See http://docs.mitmproxy.org/en/latest/transparent/osx.html for details.")
return pf.lookup(peer[0], peer[1], stxt) return pf.lookup(peer[0], peer[1], stxt)