]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - net-tools/patches/net-tools-1.60-clear-flag.patch
Move all packages to root.
[people/amarx/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-clear-flag.patch
CommitLineData
236898d6
MT
1--- net-tools-1.60/ifconfig.c.clear-flag 2008-07-08 11:21:33.000000000 +0200
2+++ net-tools-1.60/ifconfig.c 2008-07-08 11:22:55.000000000 +0200
3@@ -465,7 +465,7 @@ int main(int argc, char **argv)
4 }
5 if (!strcmp(*spp, "-allmulti")) {
6 goterr |= clr_flag(ifr.ifr_name, IFF_ALLMULTI);
7- if (test_flag(ifr.ifr_name, IFF_MULTICAST) > 0)
8+ if (test_flag(ifr.ifr_name, IFF_ALLMULTI) > 0)
9 fprintf(stderr, _("Warning: Interface %s still in ALLMULTI mode.\n"), ifr.ifr_name);
10 spp++;
11 continue;
12@@ -488,7 +488,7 @@ int main(int argc, char **argv)
13 }
14 if (!strcmp(*spp, "-dynamic")) {
15 goterr |= clr_flag(ifr.ifr_name, IFF_DYNAMIC);
16- if (test_flag(ifr.ifr_name, IFF_MULTICAST) > 0)
17+ if (test_flag(ifr.ifr_name, IFF_DYNAMIC) > 0)
18 fprintf(stderr, _("Warning: Interface %s still in DYNAMIC mode.\n"), ifr.ifr_name);
19 spp++;
20 continue;
21@@ -547,7 +547,7 @@ int main(int argc, char **argv)
22
23 if (!strcmp(*spp, "-broadcast")) {
24 goterr |= clr_flag(ifr.ifr_name, IFF_BROADCAST);
25- if (test_flag(ifr.ifr_name, IFF_MULTICAST) > 0)
26+ if (test_flag(ifr.ifr_name, IFF_BROADCAST) > 0)
27 fprintf(stderr, _("Warning: Interface %s still in BROADCAST mode.\n"), ifr.ifr_name);
28 spp++;
29 continue;
30@@ -676,7 +676,7 @@ int main(int argc, char **argv)
31 }
32 if (!strcmp(*spp, "-pointopoint")) {
33 goterr |= clr_flag(ifr.ifr_name, IFF_POINTOPOINT);
34- if (test_flag(ifr.ifr_name, IFF_MULTICAST) > 0)
35+ if (test_flag(ifr.ifr_name, IFF_POINTOPOINT) > 0)
36 fprintf(stderr, _("Warning: Interface %s still in POINTOPOINT mode.\n"), ifr.ifr_name);
37 spp++;
38 continue;