diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2008-12-05 16:15:54 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2008-12-05 16:15:54 +0000 |
commit | c7f1b0530b85bc7654e68992f25ed8ced5d0a80d (patch) | |
tree | 861798cd7da646014ed6919766b053099646710d /scripts | |
parent | 8b80ab5a6950ce6515f477624794defd7531642a (diff) | |
download | vyos-strongswan-c7f1b0530b85bc7654e68992f25ed8ced5d0a80d.tar.gz vyos-strongswan-c7f1b0530b85bc7654e68992f25ed8ced5d0a80d.zip |
[svn-upgrade] Integrating new upstream version, strongswan (4.2.9)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/thread_analysis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/thread_analysis.c b/scripts/thread_analysis.c index a03e8c994..b0e6c539b 100644 --- a/scripts/thread_analysis.c +++ b/scripts/thread_analysis.c @@ -33,10 +33,10 @@ enum state_t { STATE_ERROR = 5 }; -typedef enum mode_t mode_t; +typedef enum print_t print_t; enum print_t { - MODE_ANY = 0, + MODE_ANY = 0, MODE_ADD = 1, MODE_DEL = 2 }; @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) /* threads 1..5 and 9 are always busy */ for (th = 1; th <= THREADS; th++) { - state[th] = (th <= 5 || th == 9 )? STATE_BUSY : STATE_IDLE; + state[th] = (th <= 7 && th != 3)? STATE_BUSY : STATE_IDLE; } /* open the log file */ |