Index: branches/stable/cgi-bin/main.cgi
===================================================================
--- branches/stable/cgi-bin/main.cgi	(revision 294)
+++ branches/stable/cgi-bin/main.cgi	(revision 296)
@@ -1111,5 +1111,5 @@
       $sql = "update allocations set custid='$webvar{custid}',".
 	"description='$webvar{desc}',notes='$webvar{notes}',city='$webvar{city}',".
-	"type='$webvar{alloctype}',circuitid='$webvar{circid}'$privdata ".
+	"type='$webvar{alloctype}',circuitid='$webvar{circid}'$privdata,".
 	"swip='".($webvar{swip} eq 'on' ? 'y' : 'n')."' ".
 	"where cidr='$webvar{block}'";
