Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 95349
Collapse All | Expand All

(-)print-bgp.c.orig (-2 / +3 lines)
Lines 1648-1656 Link Here
1648
		while (dat + length > p) {
1648
		while (dat + length > p) {
1649
			char buf[MAXHOSTNAMELEN + 100];
1649
			char buf[MAXHOSTNAMELEN + 100];
1650
			i = decode_prefix4(p, buf, sizeof(buf));
1650
			i = decode_prefix4(p, buf, sizeof(buf));
1651
			if (i == -1)
1651
			if (i == -1) {
1652
				printf("\n\t    (illegal prefix length)");
1652
				printf("\n\t    (illegal prefix length)");
1653
			else if (i == -2)
1653
				break;
1654
			} else if (i == -2)
1654
				goto trunc;
1655
				goto trunc;
1655
			else {
1656
			else {
1656
				printf("\n\t    %s", buf);
1657
				printf("\n\t    %s", buf);

Return to bug 95349