[lms-commits] CVS update of lms/daemon/modules/ewx-stm (ewx-stm.c)

LMS CVS cvs w lms.org.pl
Czw, 30 Cze 2011, 15:25:53 CEST


Date: Thursday, June 30, 2011 @ 15:25:53
Author: chilek
Path: /cvsroot/lms/daemon/modules/ewx-stm

Modified: ewx-stm.c

- daemon: disambiguation of halfduplex field usage in ewx-stm module


Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/daemon/modules/ewx-stm/ewx-stm.c.diff?&r1=1.21&r2=1.22


Index: lms/daemon/modules/ewx-stm/ewx-stm.c
diff -u lms/daemon/modules/ewx-stm/ewx-stm.c:1.21 lms/daemon/modules/ewx-stm/ewx-stm.c:1.22
--- lms/daemon/modules/ewx-stm/ewx-stm.c:1.21	Tue Jan 18 09:12:02 2011
+++ lms/daemon/modules/ewx-stm/ewx-stm.c	Thu Jun 30 15:25:53 2011
@@ -19,7 +19,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  *  USA.
  *
- *  $Id: ewx-stm.c,v 1.21 2011/01/18 08:12:02 alec Exp $
+ *  $Id: ewx-stm.c,v 1.22 2011/06/30 13:25:53 chilek Exp $
  */
 
 #include <stdio.h>
@@ -674,7 +674,7 @@
 
 	// Reading hosts/channels definitions from ewx_stm_* tables
 	// NOTE: to re-create device configuration do DELETE FROM ewx_stm_nodes; DELETE FROM ewx_stm_channels;
-	query = strdup("SELECT nodeid, mac, INET_NTOA(ipaddr) AS ip, channelid, halfduplex, "
+	query = strdup("SELECT nodeid, mac, INET_NTOA(ipaddr) AS ip, channelid, n.halfduplex, "
 				"n.uprate, n.upceil, n.downrate, n.downceil, cid, "
 				"c.upceil AS cupceil, c.downceil AS cdownceil "
 			"FROM ewx_stm_nodes n "


Więcej informacji o liście lms-commits