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

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 21 22:14:30 CET 2011


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<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">
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> 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




More information about the sr-dev mailing list