Module: sip-router Branch: master Commit: 0894cb4434d707f455a383f702ae60dbf76b9655 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0894cb44...
Author: Richard Fuchs rfuchs@sipwise.com Committer: Andreas Granig agranig@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">
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=0894cb44...
Author: Richard Fuchsrfuchs@sipwise.com Committer: Andreas Granigagranig@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">
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Hello Daniel,
On 12/21/2011 10:14 PM, Daniel-Constantin Mierla wrote:
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.
Sorry, didn't know that. Checked in the changes for lcr, however there are obviously also changes regarding mtree which are not commited yet, jfyi.
Andreas
and add it to the update instructions on the wiki :-)
regards klaus
On 21.12.2011 22:14, Daniel-Constantin Mierla wrote:
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=0894cb44...
Author: Richard Fuchsrfuchs@sipwise.com Committer: Andreas Granigagranig@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">
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev