411 if (unit->io1_address && (strncmp((char *)"3a", unit->io1_address, 2) == 0)) |
411 if (unit->io1_address && (strncmp((char *)"3a", unit->io1_address, 2) == 0)) |
412 ref++; |
412 ref++; |
413 if (unit->io2_address && (strncmp((char *)"3a", unit->io2_address, 2) == 0)) |
413 if (unit->io2_address && (strncmp((char *)"3a", unit->io2_address, 2) == 0)) |
414 ref++; |
414 ref++; |
415 } |
415 } |
416 srv_send((char *)"%s,%d,2413,Dual channel addressable switchs", de->d_name, ref); |
416 srv_send((char *)"%s,%d,2413,Dual channel addressable switch", de->d_name, ref); |
417 } else { |
417 } else { |
418 srv_send((char *)"%s,0,NA,Unknown device", de->d_name); |
418 srv_send((char *)"%s,0,NA,Unknown device", de->d_name); |
419 } |
419 } |
420 } |
420 } |
421 } |
421 } |