diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2007-08-02 10:01:58 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2007-08-02 10:01:58 +0000 |
| commit | e0de9c7879d617ae650c11e279e734d5098651f7 (patch) | |
| tree | 4745be1aff6fc13284ca88abcd8b6f5346e602d0 /net-mgmt/nfsen-devel/files/patch-bin_testPlugin | |
| parent | - That's a repocopy from net-mgmt/nfsen to net-mgmt/nfsen-devel (diff) | |
- Update to 2007312
PR: 113466
Submitted by janos.mohacsi@bsd.hu (maintainer)
Notes
Notes:
svn path=/head/; revision=196943
Diffstat (limited to 'net-mgmt/nfsen-devel/files/patch-bin_testPlugin')
| -rw-r--r-- | net-mgmt/nfsen-devel/files/patch-bin_testPlugin | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-mgmt/nfsen-devel/files/patch-bin_testPlugin b/net-mgmt/nfsen-devel/files/patch-bin_testPlugin new file mode 100644 index 000000000000..86004d1ee713 --- /dev/null +++ b/net-mgmt/nfsen-devel/files/patch-bin_testPlugin @@ -0,0 +1,25 @@ + +$FreeBSD$ + +--- bin/testPlugin.orig ++++ bin/testPlugin +@@ -50,6 +50,7 @@ + + use NfConf; + use NfSen; ++use NfProfile; + use Log; + + my $VERSION = '$Id: testPlugin 60 2007-01-09 12:26:47Z peter $'; +@@ -164,7 +165,10 @@ + print "Run plugin '$plugin' with profile '$profile' at '$timeslot'\n"; + my $sub = "${plugin}::run"; + no strict 'refs'; +-&$sub($profile, $timeslot); ++&$sub({ ++ profile => $profile, ++ timeslot => $timeslot, ++}); + use strict 'refs'; + print "Plugin run successfully, at least as far as I can tell ...\n" ; + |
