diff -r ba3a2d27d59e -r acd840c9fcc0 thermferm/server.c --- a/thermferm/server.c Thu Mar 26 16:40:53 2015 +0100 +++ b/thermferm/server.c Thu Mar 26 20:34:53 2015 +0100 @@ -668,11 +668,11 @@ #endif srv_send((char *)"213 Device record follows:"); srv_send((char *)"TYPE,%s", DEVTYPE[device->type]); + srv_send((char *)"ADDRESS,%s", device->address); srv_send((char *)"DIRECTION,%s", DEVDIR[device->direction]); srv_send((char *)"VALUE,%d", my_value); srv_send((char *)"OFFSET,%d", device->offset); srv_send((char *)"PRESENT,%s", DEVPRESENT[device->present]); - srv_send((char *)"ADDRESS,%s", device->address); srv_send((char *)"SUBDEVICE,%d", device->subdevice); srv_send((char *)"GPIOPIN,%d", device->gpiopin); srv_send((char *)"DESCRIPTION,%s", device->description);