From 886cc12e751fce63eb4957a9fdbe95a272a6dd4a Mon Sep 17 00:00:00 2001 From: StormYudi <952637635@qq.com> Date: Wed, 10 Feb 2021 19:09:43 +0800 Subject: [PATCH] Update REMEDE.md Change send_event command "interface reload all" to "interface all reload' due to it's a wrong example and it will result in "supplied command command not listed in valid send_event() " error. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 91bce1d..5dad1b9 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ are some cases where reloading the configuration file is not enough and you may need to "tickle" pfSense a little more to do what you want. This is not common however a good example is getting newly defined network interfaces or VLANs to be recognized. These situations are easily handled by calling the -**send_event** action with the payload **interface reload all** - see the example +**send_event** action with the payload **interface all reload** - see the example included below and refer to a the resolution to [Issue #10](https://github.com/ndejong/pfsense_fauxapi/issues/10) __NB:__ *As at FauxAPI v1.2 the **function_call** action has been introduced that @@ -788,7 +788,7 @@ curl \ --insecure \ --header "fauxapi-auth: " \ --header "Content-Type: application/json" \ - --data "[\"interface reload all\"]" \ + --data "[\"interface all reload\"]" \ "https:///fauxapi/v1/?action=send_event" ```