]> ToastFreeware Gitweb - toast/tdyndns.git/blobdiff - cgi-bin/dyndns.py
Removed unused code.
[toast/tdyndns.git] / cgi-bin / dyndns.py
index 1a074b29994e6c024bbef5cfb1cfdab16c87153f..c5f0e4fd14506d53ea3cd843c6c8303a9fcd7a43 100755 (executable)
@@ -156,12 +156,6 @@ try:
                        ip = ipaddr.IPAddress(myip) # throws an exception if the IP address is not valid
                except ValueError:
                        raise MyipInvalid()
-               if isinstance(ip, ipaddr.IPv4Address):
-                       iptype = 'A'
-               elif isinstance(ip, ipaddr.IPv6Address):
-                       iptype = 'AAAA'
-               else:
-                       raise MyipInvalid() # should never happen
 
        # update bind
        if offline: