Mailing List Archive

interface comparison function fix
function if_cmp_func currently considres interfaces with names like
"devtyp" and "devtyp0" the same. This patch fixes it.

--- if.c 16 Jan 2004 10:15:01 -0000
+++ if.c 22 Jun 2004 10:09:53 -0000
@@ -79,6 +79,9 @@ if_cmp_func (struct interface *ifp1, str
p1 += l1;
p2 += l1;

+ if (!*p1) return -1;
+ if (!*p2) return 1;
+
x1 = strtol(p1, &p1, 10);
x2 = strtol(p2, &p2, 10);
Re: interface comparison function fix [ In reply to ]
On Tue, 22 Jun 2004, Juris Kalnins wrote:

> function if_cmp_func currently considres interfaces with names like
> "devtyp" and "devtyp0" the same. This patch fixes it.

applied. cheers.

regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
"The subspace _W inherits the other 8 properties of _V. And there aren't
even any property taxes."
-- J. MacKay, Mathematics 134b