Browse code

- check command type only if cmd returned anything, reported by Tomas Mandys

Jan Janak authored on 16/03/2006 12:13:16
Showing 1 changed files
... ...
@@ -1258,7 +1258,7 @@ host:
1258 1258
 fcmd:
1259 1259
 	cmd {
1260 1260
 		/* check if allowed */
1261
-		if (rt==ONSEND_ROUTE) {
1261
+		if ($1 && rt==ONSEND_ROUTE) {
1262 1262
 			switch($1->type) {
1263 1263
 				case DROP_T:
1264 1264
 				case SEND_T: