Hello community,

here is the log from the commit of package lxc for openSUSE:Factory checked in 
at 2014-01-13 17:20:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxc (Old)
 and      /work/SRC/openSUSE:Factory/.lxc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lxc/lxc.changes  2013-09-23 10:01:56.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.lxc.new/lxc.changes     2014-01-13 
17:20:13.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Jan  9 20:17:25 UTC 2014 - [email protected]
+
+- config_ipv6-run-inet_pton-on-the-addr-value-without-.patch:
+  config_ipv6: run inet_pton on the addr value without mask
+  (bnc#851760)
+
+-------------------------------------------------------------------

New:
----
  config_ipv6-run-inet_pton-on-the-addr-value-without-.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lxc.spec ++++++
--- /var/tmp/diff_new_pack.B0rOoz/_old  2014-01-13 17:20:15.000000000 +0100
+++ /var/tmp/diff_new_pack.B0rOoz/_new  2014-01-13 17:20:15.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lxc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+
 Name:           lxc
 Version:        0.9.0
 Release:        0
@@ -33,6 +34,7 @@
 Patch0:         autogenned.patch
 Patch1:         opensuse-systemd-shutdown.patch
 Patch2:         lxc-opensuse-add-perl-base-to-prerequisities.patch
+Patch3:         config_ipv6-run-inet_pton-on-the-addr-value-without-.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -85,6 +87,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure --disable-examples

++++++ config_ipv6-run-inet_pton-on-the-addr-value-without-.patch ++++++
From: Serge Hallyn <[email protected]>
Date: Fri, 23 Aug 2013 12:45:15 -0500
Subject: config_ipv6: run inet_pton on the addr value without mask
Patch-mainline: yes
Git-commit: 5acccf95b2bd1e5ffedf687e527dcad5a54d4c1
References: bnc#851760

otherwise a "$addr/$mask" results in failure.

Signed-off-by: Serge Hallyn <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
---
 src/lxc/confile.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/lxc/confile.c
+++ b/src/lxc/confile.c
@@ -745,8 +745,8 @@ static int config_network_ipv6(const cha
                inet6dev->prefix = atoi(netmask);
        }
 
-       if (!inet_pton(AF_INET6, value, &inet6dev->addr)) {
-               SYSERROR("invalid ipv6 address: %s", value);
+       if (!inet_pton(AF_INET6, valdup, &inet6dev->addr)) {
+               SYSERROR("invalid ipv6 address: %s", valdup);
                free(valdup);
                return -1;
        }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to