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:15:09 -0700 |
commit | 065a3c5a1ce3d73cec57a2bc395ef39429e97a05 (patch) | |
tree | e752135add8c28f931926bd194b398290667d2d1 | |
parent | 8599fc9457f76138f4016e13c502e9a393466861 (diff) | |
download | openvswitch-branch-1.6.tar.gz |
cfm: Define old_cfm_fault as 'enum cfm_fault_reason'.branch-1.6
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
@@ -319,7 +319,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; + int old_cfm_fault = cfm->fault; cfm->fault = cfm->recv_fault; cfm->recv_fault = 0; |