[sr-dev] git:master: libsrdb1: Make IPv6 addresses fit into lcr_gw

Andreas Granig agranig at linguin.org
Wed Dec 21 16:27:59 CET 2011


Module: sip-router
Branch: master
Commit: 0894cb4434d707f455a383f702ae60dbf76b9655
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0894cb4434d707f455a383f702ae60dbf76b9655

Author: Richard Fuchs <rfuchs at sipwise.com>
Committer: Andreas Granig <agranig at sipwise.com>
Date:   Wed Dec 21 16:21:07 2011 +0100

libsrdb1: Make IPv6 addresses fit into lcr_gw

- Resize lcr_gw.ip_addr column to fit IPv6 addresses.

---

 lib/srdb1/schema/lcr_gw.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/srdb1/schema/lcr_gw.xml b/lib/srdb1/schema/lcr_gw.xml
index 273d03a..3c9513b 100644
--- a/lib/srdb1/schema/lcr_gw.xml
+++ b/lib/srdb1/schema/lcr_gw.xml
@@ -46,9 +46,9 @@
     <column id="ip_addr">
         <name>ip_addr</name>
         <type>string</type>
-        <size>15</size>
+        <size>47</size>
         <null/>
-        <description>IP Address of the gateway</description>
+        <description>IPv4 or IPv6 Address of the gateway</description>
     </column>
 
     <column id="hostname">




More information about the sr-dev mailing list