Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 526040 | Differences between
and this patch

Collapse All | Expand All

(-)net-tools-1.60_p20141019041918.orig/lib/ipx_gr.c (-1 / +1 lines)
Lines 72-78 int IPX_rprint(int options) Link Here
72
	    continue;
72
	    continue;
73
73
74
	/* Fetch and resolve the Destination */
74
	/* Fetch and resolve the Destination */
75
	(void) ap->input(5, net, &sa);
75
	(void) ap->input(1, net, &sa);
76
	safe_strncpy(net, ap->sprint(&sa, numeric), sizeof(net));
76
	safe_strncpy(net, ap->sprint(&sa, numeric), sizeof(net));
77
77
78
	/* Fetch and resolve the Router Net */
78
	/* Fetch and resolve the Router Net */
(-)net-tools-1.60_p20141019041918.orig/netstat.c (-2 / +2 lines)
Lines 1649-1661 static int ipx_info(void) Link Here
1649
	}
1649
	}
1650
1650
1651
	/* Fetch and resolve the Source */
1651
	/* Fetch and resolve the Source */
1652
	(void) ap->input(4, sad, &sa);
1652
	(void) ap->input(0, sad, &sa);
1653
	safe_strncpy(buf, ap->sprint(&sa, flag_not & FLAG_NUM_HOST), sizeof(buf));
1653
	safe_strncpy(buf, ap->sprint(&sa, flag_not & FLAG_NUM_HOST), sizeof(buf));
1654
	snprintf(sad, sizeof(sad), "%s:%04X", buf, sport);
1654
	snprintf(sad, sizeof(sad), "%s:%04X", buf, sport);
1655
1655
1656
	if (!nc) {
1656
	if (!nc) {
1657
	    /* Fetch and resolve the Destination */
1657
	    /* Fetch and resolve the Destination */
1658
	    (void) ap->input(4, dad, &sa);
1658
	    (void) ap->input(0, dad, &sa);
1659
	    safe_strncpy(buf, ap->sprint(&sa, flag_not & FLAG_NUM_HOST), sizeof(buf));
1659
	    safe_strncpy(buf, ap->sprint(&sa, flag_not & FLAG_NUM_HOST), sizeof(buf));
1660
	    snprintf(dad, sizeof(dad), "%s:%04X", buf, dport);
1660
	    snprintf(dad, sizeof(dad), "%s:%04X", buf, dport);
1661
	} else
1661
	} else

Return to bug 526040