|
Lines 120-126
Link Here
|
| 120 |
printf(" hops:%d", bp->bp_hops); |
120 |
printf(" hops:%d", bp->bp_hops); |
| 121 |
|
121 |
|
| 122 |
if (bp->bp_xid) |
122 |
if (bp->bp_xid) |
| 123 |
printf(" xid:%d", ntohl(bp->bp_xid)); |
123 |
printf(" xid:%ld", ntohl(bp->bp_xid)); |
| 124 |
|
124 |
|
| 125 |
if (bp->bp_secs) |
125 |
if (bp->bp_secs) |
| 126 |
printf(" secs:%d", ntohs(bp->bp_secs)); |
126 |
printf(" secs:%d", ntohs(bp->bp_secs)); |
|
Lines 336-342
Link Here
|
| 336 |
case 'l': /* Long words */ |
336 |
case 'l': /* Long words */ |
| 337 |
while (len >= 4) { |
337 |
while (len >= 4) { |
| 338 |
bcopy((char *) bp, (char *) &ul, 4); |
338 |
bcopy((char *) bp, (char *) &ul, 4); |
| 339 |
printf("%d", ntohl(ul)); |
339 |
printf("%ld", ntohl(ul)); |
| 340 |
bp += 4; |
340 |
bp += 4; |
| 341 |
len -= 4; |
341 |
len -= 4; |
| 342 |
if (len) printf(","); |
342 |
if (len) printf(","); |