diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2012-12-02 02:41:19 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2012-12-02 02:41:19 +0000 |
commit | e26f33a2587ea8db5835e715fe8da6428f1f6bb1 (patch) | |
tree | 1fef1286d9e53f866109cb23a576d007cd528770 /net-mgmt/nfsen/files/patch-libexec__NFSenRC.pm | |
parent | Update to 1.5.1. (diff) |
Update to 1.3.6p1.
PR: ports/173594
Submitted by: Mike Stupalov <landy2005@gmail.com>
Approved by: janos.mohacsi@bsd.hu (maintainer timeout)
Feature safe: yes
Diffstat (limited to 'net-mgmt/nfsen/files/patch-libexec__NFSenRC.pm')
-rw-r--r-- | net-mgmt/nfsen/files/patch-libexec__NFSenRC.pm | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/net-mgmt/nfsen/files/patch-libexec__NFSenRC.pm b/net-mgmt/nfsen/files/patch-libexec__NFSenRC.pm deleted file mode 100644 index 9d63727d5a85..000000000000 --- a/net-mgmt/nfsen/files/patch-libexec__NFSenRC.pm +++ /dev/null @@ -1,32 +0,0 @@ ---- libexec/NfSenRC.pm 2010-09-09 07:56:05.000000000 +0200 -+++ libexec/NfSenRC.pm.patched 2011-03-09 13:09:32.000000000 +0100 -@@ -54,22 +54,21 @@ - print "[no collector]"; - return; - } -- - my @SourceList; - my $type = undef; - foreach my $source ( sort keys %NfConf::sources ) { - my $_port = $NfConf::sources{$source}{'port'}; - if ( $_port == $port ) { - push @SourceList, $source; -- } -- my $_type = exists $NfConf::sources{$source}{'type'} ? $NfConf::sources{$source}{'type'}: 'netflow'; -- if ( defined $type ) { -- if ( $type ne $_type ) { -- print "Can not start different type '$type' and '$_type' on same port!\n"; -- return; -+ my $_type = exists $NfConf::sources{$source}{'type'} ? $NfConf::sources{$source}{'type'}: 'netflow'; -+ if ( defined $type ) { -+ if ( $type ne $_type ) { -+ print "Can not start different type '$type' and '$_type' on same port!\n"; -+ return; -+ } -+ } else { -+ $type = $_type; - } -- } else { -- $type = $_type; - } - } |