From: Alan T. DeKok Date: Tue, 26 Dec 2023 15:31:45 +0000 (-0500) Subject: use local variables in examples X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b22cb7c30cc17ad52bb029f01e2ebf8c365762;p=thirdparty%2Ffreeradius-server.git use local variables in examples --- diff --git a/doc/antora/modules/raddb/pages/sites-available/bfd.adoc b/doc/antora/modules/raddb/pages/sites-available/bfd.adoc index 18d67dd8c4b..5bf427fd356 100644 --- a/doc/antora/modules/raddb/pages/sites-available/bfd.adoc +++ b/doc/antora/modules/raddb/pages/sites-available/bfd.adoc @@ -178,6 +178,7 @@ are defined by the protocol. The `send` section is called only for informationa + Sneak in more data after a BFD packet! @@ -230,9 +231,10 @@ send Init { ok } send Up { +# octets more-data ok # &reply.Additional-Data := { -# &Tmp-Octets-0 := 0xabcdef +# &more-data := 0xabcdef # } } } diff --git a/raddb/sites-available/bfd b/raddb/sites-available/bfd index f1d97d1e824..784d834fa4d 100644 --- a/raddb/sites-available/bfd +++ b/raddb/sites-available/bfd @@ -224,13 +224,15 @@ send Init { # ### Send "Up" packets to the peer. # send Up { +# octets more-data + ok # # Sneak in more data after a BFD packet! # # &reply.Additional-Data := { -# &Tmp-Octets-0 := 0xabcdef +# &more-data := 0xabcdef # } }