diff options
| author | kimbo <kimballleavitt@gmail.com> | 2019-10-04 05:18:51 -0600 |
|---|---|---|
| committer | kimbo <kimballleavitt@gmail.com> | 2019-10-04 05:18:51 -0600 |
| commit | df9a1618d0de1cc0161606ec1539f11a90c38807 (patch) | |
| tree | 1c4af498e6d46950b9879db82a4067ccff5af946 /dns/edns.py | |
| parent | 684cdb9d39aa7651dca586c1b949c1e0aaa7b818 (diff) | |
| download | dnspython-df9a1618d0de1cc0161606ec1539f11a90c38807.tar.gz | |
added __str__ for GenericOption
Diffstat (limited to 'dns/edns.py')
| -rw-r--r-- | dns/edns.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dns/edns.py b/dns/edns.py index 56a9f92..5d60373 100644 --- a/dns/edns.py +++ b/dns/edns.py @@ -154,6 +154,8 @@ class GenericOption(Option): return 1 return -1 + def __str__(self): + return self.to_text() class ECSOption(Option): """EDNS Client Subnet (ECS, RFC7871)""" |
