Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions instana/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def get_default_gateway():
:return: String - the ip address of the default gateway or None if not found/possible/non-existant
"""
try:
hip = None
# The first line is the header line
# We look for the line where the Destination is 00000000 - that is the default route
# The Gateway IP is encoded backwards in hex.
Expand Down