diff options
author | Casey Deccio <casey@deccio.net> | 2019-03-12 18:16:21 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2019-03-13 00:22:38 +0300 |
commit | 9794aa42ed21d7f0b4952790e983fe9a8aab0b84 (patch) | |
tree | c8e10fce20100a5b59b924e47b95450cbf478560 | |
parent | 40890f89e41923076a27208da2c7e253892f5e8c (diff) |
Fix tag output
-rw-r--r-- | dnsviz/response.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dnsviz/response.py b/dnsviz/response.py index 1020e69..7a12c53 100644 --- a/dnsviz/response.py +++ b/dnsviz/response.py @@ -186,7 +186,9 @@ class DNSResponse: # EDNS flags other than DO if edns_flags & ~dns.flags.DO: s += '%d' % edns_flags - s += '_' + + if edns_options: + s += '_' # other options for opt in edns_options: |