Skip to content

Commit

Permalink
drouting: Fix dr_match() docs
Browse files Browse the repository at this point in the history
* the groupID is actually mandatory
* add missing "number" docs

(cherry picked from commit a5236a8)
  • Loading branch information
liviuchircu committed Oct 5, 2022
1 parent d169195 commit 55033e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/drouting/doc/drouting_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ if (t_check_status("(408)|(5[0-9][0-9])")) {

<section id="func_dr_match" xreflabel="dr_match()">
<title>
<function moreinfo="none">dr_match([groupID], [flags], number, [rule_attrs_pvar], [partition])</function>
<function moreinfo="none">dr_match(groupID, [flags], number, [rule_attrs_pvar], [partition])</function>
</title>
<para>
The function tries to match/check the given number against the
Expand Down Expand Up @@ -2066,6 +2066,11 @@ if (t_check_status("(408)|(5[0-9][0-9])")) {
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
<emphasis role='bold'>number</emphasis> (string) - the number to check
</para>
</listitem>
<listitem>
<para>
<emphasis role='bold'>rule_attrs_pvar</emphasis> (var, optional) - a
Expand Down

0 comments on commit 55033e9

Please sign in to comment.