summaryrefslogtreecommitdiff
path: root/src/common/ip.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/ip.py')
-rw-r--r--src/common/ip.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/ip.py b/src/common/ip.py
deleted file mode 100644
index e6a8183..0000000
--- a/src/common/ip.py
+++ /dev/null
@@ -1,14 +0,0 @@
-class IP4Address(object):
- ''' print an IP4Address
- '''
- __slots__ = ('_value')
- name = 'IP4Address'
- enabled = True
-
- def __init__(self, value):
- self._value = value
-
- def to_string(self):
- addr = self._value['_addr']
- addr = tuple(int(addr[i]) for i in range(4))
- return '%d.%d.%d.%d' % addr