diff options
Diffstat (limited to 'lib/rfsv16.cc')
-rw-r--r-- | lib/rfsv16.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rfsv16.cc b/lib/rfsv16.cc index 21fb820..f6518d9 100644 --- a/lib/rfsv16.cc +++ b/lib/rfsv16.cc @@ -392,8 +392,8 @@ devlist(u_int32_t &devbits) if (res) break; u_int16_t version = a.getWord(0); - if (version != 2) { - cerr << "devlist: not version 2" << endl; + if ((version < 1) || (version > 2)) { + cerr << "devlist: not version 1 or 2" << endl; fclose(fileHandle); return E_PSI_GEN_FAIL; // FIXME } |