diff options
author | Alex Wang <alexw@nicira.com> | 2014-03-19 16:19:28 -0700 |
---|---|---|
committer | Alex Wang <alexw@nicira.com> | 2014-03-20 11:09:02 -0700 |
commit | 936ff9c6454d7736a5b2bafbaf589cfc5371f6f5 (patch) | |
tree | 96e84e68fd0585085d17ffa9184e542ec503feb7 | |
parent | 4c20c6db79724728235b94e1429a7303185c909e (diff) | |
download | openvswitch-branch-1.8.tar.gz |
cfm: Define old_cfm_fault as 'enum cfm_fault_reason'.branch-1.8
CFM fault variable type has been changed to 'enum cfm_fault_reason' for
long time. However, inside cfm_run(), the old_cfm_fault is still defined
as boolean. This commit fixes the issue.
Found by inspection.
Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | lib/cfm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -331,7 +331,7 @@ cfm_run(struct cfm *cfm) if (timer_expired(&cfm->fault_timer)) { long long int interval = cfm_fault_interval(cfm); struct remote_mp *rmp, *rmp_next; - bool old_cfm_fault = cfm->fault; + enum cfm_fault_reason old_cfm_fault = cfm->fault; cfm->fault = cfm->recv_fault; cfm->recv_fault = 0; |