From: Alan T. DeKok Date: Wed, 27 Jun 2018 17:40:15 +0000 (-0400) Subject: fixes and notes for the future X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39ccbcc44a2fe4f57c8b215551a3f72050ac8013;p=thirdparty%2Ffreeradius-server.git fixes and notes for the future --- diff --git a/scripts/conf2adoc b/scripts/conf2adoc index 0a65c4cb8b8..3bf5ecf6686 100755 --- a/scripts/conf2adoc +++ b/scripts/conf2adoc @@ -38,7 +38,7 @@ while (<>) { $firstcol = 0; } - if (($firstcol == 1) && ($oldcol == 0)) { + if (($firstcol == 1) && ($oldcol == 0) && ($raw == 0)) { s/^#//; } @@ -65,6 +65,15 @@ while (<>) { print " "; } + # + # @todo - load up www.freeradius.org/rfc/refs + # + # Split the input line on spaces, into a hash array (for + # uniqueness) and check each word against "refs". If found, + # the word is an attribute. Replace the word in $_ with a + # reference to the attribute definition. + # + print; next; }