We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 832849c commit e3b426cCopy full SHA for e3b426c
CHANGES.md
@@ -4,6 +4,12 @@
4
- Summary:
5
- Insert something here
6
7
+## Version: 0.7.81
8
+
9
+- Released: 2025-01-04
10
+- Summary:
11
+ - Tweak algorithm to get a decimal representation of an IPv6Obj()
12
13
## Version: 0.7.80
14
15
- Released: 2025-01-04
ciscoconfparse2/__about__.py
@@ -1 +1 @@
1
-__version__ = '0.7.80'
+__version__ = '0.7.81'
ciscoconfparse2/ccp_util.py
@@ -2277,7 +2277,7 @@ def numhosts(self):
2277
@property
2278
def as_decimal(self):
2279
"""Returns the IP address as a decimal integer"""
2280
- num_strings = str(self.ip.exploded).split(":")
+ num_strings = str(self.ip.exploded).split("/")[0].split(":")
2281
2282
2283
########################################################################
0 commit comments