--- linux-2.4.22-rsbac-v1.2.2/rsbac/data_structures/acl_data_structures.c.sik	2003-06-06 16:27:05.000000000 +0200
+++ linux-2.4.22-rsbac-v1.2.2/rsbac/data_structures/acl_data_structures.c	2003-09-23 08:38:26.000000000 +0200
@@ -6710,9 +6710,14 @@
             {
               rsbac_net_temp_id_t temp = 0;
 
-              rsbac_net_lookup_templates(tid.netobj,
-                                         &temp,
-                                         NULL);
+              if(rsbac_net_remote_request(right))
+                rsbac_net_lookup_templates(tid.netobj,
+                                           NULL,
+                                           &temp);
+              else
+                rsbac_net_lookup_templates(tid.netobj,
+                                           &temp,
+                                           NULL);
               if(   temp
                  && !rsbac_list_lol_get_subdata(nettemp_handle,
                                                 &temp,
