If we see a bad NIC supplementary bits combination, return RC_UNKNOWN
This commit is contained in:
parent
0b9f7e4cef
commit
d5eccc30a4
2
track.c
2
track.c
|
@ -733,7 +733,7 @@ static unsigned compute_rc(unsigned metype, unsigned version, unsigned nic_a, un
|
||||||
} else if (nic_a && nic_b) {
|
} else if (nic_a && nic_b) {
|
||||||
return 1112; // 1111.2m, 0.6NM
|
return 1112; // 1111.2m, 0.6NM
|
||||||
} else {
|
} else {
|
||||||
return 1112; // bad combination, assume worst Rc
|
return RC_UNKNOWN; // bad combination
|
||||||
}
|
}
|
||||||
} else if (version == 1) {
|
} else if (version == 1) {
|
||||||
if (nic_a) {
|
if (nic_a) {
|
||||||
|
|
Loading…
Reference in a new issue