Closed thosmos closed 1 year ago
Previously adding an insert Rule directly to an NfCmd::Insert was leaving out the necessary {"insert": ...} json object from the output. By changing NfCmd::Insert to take an NfListObject, it matches how the ::Add command works and fixes the output.
{"insert": ...}
@thosmos Thank you for your contribution, and especially for providing a test and fixing my tests :)
Previously adding an insert Rule directly to an NfCmd::Insert was leaving out the necessary
{"insert": ...}
json object from the output. By changing NfCmd::Insert to take an NfListObject, it matches how the ::Add command works and fixes the output.