aboutsummaryrefslogtreecommitdiff
path: root/rpkid
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2013-03-26 18:56:01 +0000
committerMichael Elkins <melkins@tislabs.com>2013-03-26 18:56:01 +0000
commit8e10cef711926f522f6bce7efef275c4fac62a27 (patch)
tree00e3d2a592fd863da5b9880eef9df79d9079be83 /rpkid
parent2bfcaaebd4f8caf9f88ded085a3d95f9b6ce3ee7 (diff)
need to return a byte string instead of long now that we are no longer converting binary db fields to hex
should have been included in [5223]. svn path=/trunk/; revision=5224
Diffstat (limited to 'rpkid')
-rw-r--r--rpkid/rpki/gui/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/gui/models.py b/rpkid/rpki/gui/models.py
index 90e5c487..7a684f32 100644
--- a/rpkid/rpki/gui/models.py
+++ b/rpkid/rpki/gui/models.py
@@ -44,7 +44,7 @@ class IPv6AddressField(models.Field):
strings in SQL statements. See settings.get_conv() for details.
"""
- return long(value)
+ return value.toBytes()
class IPv4AddressField(models.Field):