Hello,

when the xml files for db schema are updated, then you have to run:

make dbschema

and commit the sql/db scripts for kamctl/kamdbctl.

Cheers,
Daniel

On 12/21/11 4:27 PM, Andreas Granig wrote:
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<[email protected]>
Committer: Andreas Granig<[email protected]>
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">


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to