--- libexec/NfSenRC.pm	Thu Jul  1 08:01:05 2010
+++ /data/nfsen/libexec/NfSenRC.pm	Thu Jul  1 08:06:28 2010
@@ -80,18 +80,19 @@
 
 	my $common_args = "-w -D -p $port -u $uid -g $gid $buffer_opts $subdirlayout -P $pidfile $NfConf::ZIPcollected $extensions";
 	my $src_args;
-	my $optargs = '';
+	my $optargs     = '';
 	if ( scalar @$identref > 1 ) {
 		# multiple sources per collector
 		foreach $ident ( @$identref ) {
 			my $IP = $NfConf::sources{$ident}{'IP'};
 			$src_args .= "-n $ident,$IP,$NfConf::PROFILEDATADIR/live/$ident ";
+			$optargs     = exists $NfConf::sources{$ident}{'optarg'} ? "$optargs $NfConf::sources{$ident}{'optarg'}" : '';
 		}
 	} else {
 		# single source
 		my $profiledir	= "$NfConf::PROFILEDATADIR/live/$ident";
-		$optargs     = exists $NfConf::sources{$ident}{'optarg'} ? $NfConf::sources{$ident}{'optarg'} : '';
 		$src_args = "-I $ident -l $profiledir ";
+		$optargs     = exists $NfConf::sources{$ident}{'optarg'} ? $NfConf::sources{$ident}{'optarg'} : '';
 	}
 
 	my $args = "$common_args $src_args $optargs";
