Skip to content

Commit e3b426c

Browse files
committed
Version 0.7.81
1 parent 832849c commit e3b426c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
- Summary:
55
- Insert something here
66

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+
713
## Version: 0.7.80
814

915
- Released: 2025-01-04

ciscoconfparse2/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.7.80'
1+
__version__ = '0.7.81'

ciscoconfparse2/ccp_util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,7 @@ def numhosts(self):
22772277
@property
22782278
def as_decimal(self):
22792279
"""Returns the IP address as a decimal integer"""
2280-
num_strings = str(self.ip.exploded).split(":")
2280+
num_strings = str(self.ip.exploded).split("/")[0].split(":")
22812281

22822282

22832283
########################################################################

0 commit comments

Comments
 (0)