|
|
626e1f7 |
diff -up net-tools-1.60/lib/ipx_gr.c.ipx net-tools-1.60/lib/ipx_gr.c
|
|
|
626e1f7 |
--- net-tools-1.60/lib/ipx_gr.c.ipx 2011-11-21 02:31:57.000000000 +0100
|
|
|
626e1f7 |
+++ net-tools-1.60/lib/ipx_gr.c 2011-12-01 17:02:53.261805292 +0100
|
|
|
626e1f7 |
@@ -70,7 +70,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 */
|
|
|
626e1f7 |
diff -up net-tools-1.60/netstat.c.ipx net-tools-1.60/netstat.c
|
|
|
626e1f7 |
--- net-tools-1.60/netstat.c.ipx 2011-12-01 17:02:53.000000000 +0100
|
|
|
626e1f7 |
+++ net-tools-1.60/netstat.c 2011-12-01 17:06:26.071144809 +0100
|
|
|
626e1f7 |
@@ -1582,13 +1582,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
|