From a0ed8db6deca5d579b76771536f25429598527a4 Mon Sep 17 00:00:00 2001 From: Balazs Racz Date: Sat, 7 Sep 2024 13:54:03 +0200 Subject: [PATCH] Fix/add comments. --- src/openlcb/IfImpl.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openlcb/IfImpl.hxx b/src/openlcb/IfImpl.hxx index 126553cb3..58788ea1a 100644 --- a/src/openlcb/IfImpl.hxx +++ b/src/openlcb/IfImpl.hxx @@ -272,7 +272,7 @@ private: /// matching the MTI / mask of any existing instantiated handler will end up /// here. /// -/// THe standard requires that when an addressed message is not handled by a +/// The standard requires that when an addressed message is not handled by a /// node (e.g. because it does not know about the MTI at all), then an Optional /// Interaction Rejected reply be sent to the originator. This flow generates /// that OIR reply. @@ -305,6 +305,9 @@ public: iface()->addressed_message_write_flow(), STATE(fill_oir)); } + /// Called after the message buffer allocation is complete. Fills in the + /// outgoing Optional Interaction Rejected message and sends it off to the + /// write flow. Action fill_oir() { auto rb = get_buffer_deleter(