- Timestamp:
- 06/09/09 10:07:55 (3 years ago)
- Children:
- 7751a641e2a294d986b002dd01264b7d068258a2
- Parents:
- 927d0c70c763dcf56e6f12ebe02a51688468a5c3
- git-committer:
- Neutron Soutmun <neo.neutron@…> (06/09/09 10:07:55)
- Files:
-
- 1 modified
-
src/rh-task-iptables.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/rh-task-iptables.c
raace70f rbae014d 16 16 #include "rh-task.h" 17 17 #include "rh-utils.h" 18 19 #define IPTABLES_WRAPPER "/etc/rahunas/firewall.sh"20 18 21 19 int iptables_exec(struct vserver *vs, char *const args[]) … … 78 76 if (pid == 0) { 79 77 // Child 80 execve( IPTABLES_WRAPPER, args, env);78 execve(RAHUNAS_FIREWALL_WRAPPER, args, env); 81 79 } else if (pid < 0) { 82 80 // Fork error … … 113 111 DP("IPTables: start"); 114 112 115 args[0] = IPTABLES_WRAPPER;113 args[0] = RAHUNAS_FIREWALL_WRAPPER; 116 114 args[1] = "start-config"; 117 115 args[2] = (char *) 0; … … 126 124 DP("IPTables: stop"); 127 125 128 args[0] = IPTABLES_WRAPPER;126 args[0] = RAHUNAS_FIREWALL_WRAPPER; 129 127 args[1] = "stop-config"; 130 128 args[2] = (char *) 0;
