]> andersk Git - moira.git/blobdiff - server/queries2.c
removed unique check for network saddr
[moira.git] / server / queries2.c
index 70f6c9544c953865c34da4699b3889e7bf21f71a..8456649d5b20e819e7221fd7362352bf1aff3e35 100644 (file)
@@ -25,6 +25,7 @@ int access_service();
 int access_filesys();
 int access_host();
 int access_ahal();
+int access_snt();
 
 /* Query Setup Routines */
 int prefetch_value();
@@ -954,7 +955,7 @@ static struct validate gsnt_validate = {
   0,
   0,
   0,
-  0,
+  access_snt,
   0,
   followup_gsnt,
 };
@@ -975,7 +976,7 @@ static struct validate asnt_validate =
     asnt_valobj,
     4,
     NAME,
-    "name = uppercase(LEFT('%s',SIZE(name))) OR description = '__'+'%s' OR saddr = '%s'",
+    "name = uppercase(LEFT('%s',SIZE(name)))",
     3,
     SNET_ID,
     0,
@@ -1001,7 +1002,7 @@ static struct validate usnt_validate =
     usnt_valobj,
     5,
     NAME,
-    "snet_id = %d OR description = '__'+'%s' OR description = '__'+'%s' OR saddr = '%s'",
+    "snet_id = %d",
     4,
     SNET_ID,
     0,
This page took 0.050736 seconds and 4 git commands to generate.