We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 419d36a commit 0b9105fCopy full SHA for 0b9105f
instana/util.py
@@ -209,6 +209,7 @@ def get_default_gateway():
209
:return: String - the ip address of the default gateway or None if not found/possible/non-existant
210
"""
211
try:
212
+ hip = None
213
# The first line is the header line
214
# We look for the line where the Destination is 00000000 - that is the default route
215
# The Gateway IP is encoded backwards in hex.
0 commit comments