diff -Nru lxc-1.0.0~alpha1/debian/changelog lxc-1.0.0~alpha1/debian/changelog --- lxc-1.0.0~alpha1/debian/changelog 2013-10-12 14:02:16.000000000 +0000 +++ lxc-1.0.0~alpha1/debian/changelog 2013-10-12 14:15:06.000000000 +0000 @@ -1,3 +1,9 @@ +lxc (1.0.0~alpha1-0ubuntu13) saucy; urgency=low + + * bump version number to override previous upload + + -- Zhengpeng Hou Sat, 12 Oct 2013 22:14:36 +0800 + lxc (1.0.0~alpha1-0ubuntu12) saucy; urgency=low * workaround to support use ovs bridge diff -Nru lxc-1.0.0~alpha1/debian/patches/0012-ovs-suppor.patch lxc-1.0.0~alpha1/debian/patches/0012-ovs-suppor.patch --- lxc-1.0.0~alpha1/debian/patches/0012-ovs-suppor.patch 2013-10-12 14:01:35.000000000 +0000 +++ lxc-1.0.0~alpha1/debian/patches/0012-ovs-suppor.patch 2013-10-12 14:11:52.000000000 +0000 @@ -8,7 +8,7 @@ struct ifreq ifr; + struct stat sb; + char brdirname[22 + IFNAMSIZ + 1] = {0}; -+ char ovscmd[20 + IFNAMZIE * 2 + 1] = {0}; ++ char ovscmd[20 + IFNAMSIZ * 2 + 1] = {0}; if (strlen(ifname) >= IFNAMSIZ) return -EINVAL; @@ -19,7 +19,7 @@ + snprintf(brdirname, 22 +IFNAMSIZ + 1, "/sys/class/net/%s/bridge", bridge); + if (stat(brdirname, &sb) == -1) { + if (errno == ENOENT) { -+ snprintf(ovscmd, 20 + IFNAMZIE * 2 + 1, "ovs-vsctl add-port %s %s", bridge, ifname); ++ snprintf(ovscmd, 20 + IFNAMSIZ * 2 + 1, "ovs-vsctl add-port %s %s", bridge, ifname); + err = system(ovscmd); + } else { + err = -EINVAL;