|
|
95ca85a |
diff -up net-tools-2.0/lib/ipx_gr.c.ipx net-tools-2.0/lib/ipx_gr.c
|
|
|
95ca85a |
--- net-tools-2.0/lib/ipx_gr.c.ipx 2012-10-01 07:40:47.000000000 +0200
|
|
|
95ca85a |
+++ net-tools-2.0/lib/ipx_gr.c 2012-10-04 11:27:39.011998824 +0200
|
|
|
95ca85a |
@@ -71,7 +71,7 @@ int IPX_rprint(int options)
|
|
cvsdist |
14587f6 |
continue;
|
|
cvsdist |
14587f6 |
|
|
cvsdist |
14587f6 |
/* Fetch and resolve the Destination */
|
|
cvsdist |
14587f6 |
- (void) ap->input(5, net, &sa);
|
|
cvsdist |
14587f6 |
+ (void) ap->input(1, net, &sa);
|
|
cvsdist |
14587f6 |
strcpy(net, ap->sprint(&sa, numeric));
|
|
cvsdist |
14587f6 |
|
|
cvsdist |
14587f6 |
/* Fetch and resolve the Router Net */
|
|
|
95ca85a |
diff -up net-tools-2.0/netstat.c.ipx net-tools-2.0/netstat.c
|
|
|
95ca85a |
--- net-tools-2.0/netstat.c.ipx 2012-10-04 11:27:39.008998860 +0200
|
|
|
95ca85a |
+++ net-tools-2.0/netstat.c 2012-10-04 11:27:39.012998812 +0200
|
|
|
95ca85a |
@@ -1647,13 +1647,13 @@ static int ipx_info(void)
|
|
cvsdist |
14587f6 |
}
|
|
cvsdist |
14587f6 |
|
|
cvsdist |
14587f6 |
/* Fetch and resolve the Source */
|
|
cvsdist |
14587f6 |
- (void) ap->input(4, sad, &sa);
|
|
cvsdist |
14587f6 |
+ (void) ap->input(0, sad, &sa);
|
|
|
626e1f7 |
safe_strncpy(buf, ap->sprint(&sa, flag_not & FLAG_NUM_HOST), sizeof(buf));
|
|
cvsdist |
14587f6 |
snprintf(sad, sizeof(sad), "%s:%04X", buf, sport);
|
|
cvsdist |
14587f6 |
|
|
cvsdist |
14587f6 |
if (!nc) {
|
|
cvsdist |
14587f6 |
/* Fetch and resolve the Destination */
|
|
cvsdist |
14587f6 |
- (void) ap->input(4, dad, &sa);
|
|
cvsdist |
14587f6 |
+ (void) ap->input(0, dad, &sa);
|
|
|
626e1f7 |
safe_strncpy(buf, ap->sprint(&sa, flag_not & FLAG_NUM_HOST), sizeof(buf));
|
|
cvsdist |
14587f6 |
snprintf(dad, sizeof(dad), "%s:%04X", buf, dport);
|
|
cvsdist |
14587f6 |
} else
|