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:10:44 -0700 |
commit | aaa0b239c665da3112c16dcf3de33b26287f0382 (patch) | |
tree | 46bb481c0d58b1f3c7047be18ba7596a82a90e1d | |
parent | e27ab068499dd4329db8b60ad2e60ea511ef5200 (diff) | |
download | openvswitch-branch-1.7.tar.gz |
cfm: Define old_cfm_fault as 'enum cfm_fault_reason'.branch-1.7
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
@@ -330,7 +330,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; |