]> git.pld-linux.org Git - packages/ebtables.git/commitdiff
Yikes, upstream found a bug in my patch; rel 4 auto/th/ebtables-2.0.10.4-4
authorMariusz Mazur <mmazur@pld-linux.org>
Tue, 15 Apr 2014 09:55:39 +0000 (11:55 +0200)
committerMariusz Mazur <mmazur@pld-linux.org>
Tue, 15 Apr 2014 09:55:39 +0000 (11:55 +0200)
ebtables.spec
ipv6_netmask_printing_fix.patch

index d010f75f17271beb0b576f837a616f0284ae2e1b..c9191fa6f3d20002cbda930288444b4dc345f627 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Ethernet Bridge Tables
 Summary(pl.UTF-8):     Ethernet Bridge Tables - filtrowanie i translacja adresów dla Ethernetu
 Name:          ebtables
 Version:       %{ver}.%{vermin}
-Release:       3
+Release:       4
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://downloads.sourceforge.net/ebtables/%{name}-v%{ver}-%{vermin}.tar.gz
index c96f6eae01d1109f8ece20ed21222fe8b7b69d3b..c626267787698140c2a982f0c9310b1ce5aba622 100644 (file)
@@ -15,7 +15,7 @@ index 0465e77..52a8448 100644
                        printf("! ");
                printf("%s", ebt_ip6_to_numeric(&ipinfo->daddr));
 -              printf("/%s ", ebt_ip6_to_numeric(&ipinfo->dmsk));
-+              printf("%s ", ebt_ip6_mask_to_string(&ipinfo->smsk));
++              printf("%s ", ebt_ip6_mask_to_string(&ipinfo->dmsk));
        }
        if (ipinfo->bitmask & EBT_IP6_TCLASS) {
                printf("--ip6-tclass ");
@@ -46,7 +46,7 @@ index d20b68e..2f73589 100644
 +       * /0000:0000:0000:0000:0000:0000:0000:0000 */
 +      static char buf[51+1];
 +      if (msk->s6_addr32[0] == 0xFFFFFFFFL && msk->s6_addr32[1] == 0xFFFFFFFFL &&
-+                      msk->s6_addr32[2] == 0xFFFFFFFFL && msk->s6_addr32[3] == 0xFFFFFFFFL)
++          msk->s6_addr32[2] == 0xFFFFFFFFL && msk->s6_addr32[3] == 0xFFFFFFFFL)
 +              *buf = '\0';
 +      else
 +              sprintf(buf, "/%s", ebt_ip6_to_numeric(msk));
This page took 0.099249 seconds and 4 git commands to generate.