blob: a4cb0b4b58f7940465adbdcd71b68eee4e3e3ad9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
From Rawhide. Allows check of multiple devices.
diff -Naur net-tools-1.60.orig/lib/nstrcmp.c net-tools-1.60/lib/nstrcmp.c
--- net-tools-1.60.orig/lib/nstrcmp.c 1999-01-09 15:55:20.000000000 +0000
+++ net-tools-1.60/lib/nstrcmp.c 2003-09-12 22:46:13.000000000 +0000
@@ -16,8 +16,8 @@
b++;
}
if (isdigit(*a)) {
- if (!isdigit(*b))
- return -1;
+ if (!isdigit(*b))
+ return 1;
while (a > astr) {
a--;
if (!isdigit(*a)) {
|