projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2578f4b
)
[libmultipath] fix pathcount wildcard
author
Christophe Varoqui
<root@xa-s05.(none)>
Thu, 17 Nov 2005 16:49:13 +0000
(17:49 +0100)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Thu, 17 Nov 2005 16:49:13 +0000
(17:49 +0100)
libmultipath/structs.c
patch
|
blob
|
history
diff --git
a/libmultipath/structs.c
b/libmultipath/structs.c
index
960d89b
..
627c757
100644
(file)
--- a/
libmultipath/structs.c
+++ b/
libmultipath/structs.c
@@
-311,7
+311,7
@@
pathcount (struct multipath * mpp, int state)
vector_foreach_slot (mpp->pg, pgp, i)
vector_foreach_slot (pgp->paths, pp, j)
- if ((pp->state == state) || (state
== PATH_WILD
))
+ if ((pp->state == state) || (state
< 0
))
count++;
return count;