]> git.pld-linux.org Git - packages/iproute2.git/blame - iproute2-iprule.patch
- updated to 040730 (unfortunately our linux-libc-headers are TOO OLD to handle all...
[packages/iproute2.git] / iproute2-iprule.patch
CommitLineData
17e7b720
AM
1--- iproute2/ip/iprule.c.fwhex Sun Apr 16 13:42:51 2000
2+++ iproute2/ip/iprule.c Fri May 24 22:22:21 2002
3@@ -120,7 +120,7 @@
4 fprintf(fp, "tos %s ", rtnl_dsfield_n2a(r->rtm_tos, b1, sizeof(b1)));
5 }
6 if (tb[RTA_PROTOINFO]) {
7- fprintf(fp, "fwmark %8x ", *(__u32*)RTA_DATA(tb[RTA_PROTOINFO]));
8+ fprintf(fp, "fwmark %#x ", *(__u32*)RTA_DATA(tb[RTA_PROTOINFO]));
9 }
10
11 if (tb[RTA_IIF]) {
12@@ -245,7 +245,7 @@
13 } else if (strcmp(*argv, "fwmark") == 0) {
14 __u32 fwmark;
15 NEXT_ARG();
16- if (get_u32(&fwmark, *argv, 16))
17+ if (get_u32(&fwmark, *argv, 0))
18 invarg("fwmark value is invalid\n", *argv);
19 addattr32(&req.n, sizeof(req), RTA_PROTOINFO, fwmark);
20 } else if (matches(*argv, "realms") == 0) {
This page took 0.115331 seconds and 4 git commands to generate.