[2/2] dhcp.cgi: Add domain-list type info in dhcp options - bug#12819

Message ID 20220404114909.8184-2-adolf.belka@ipfire.org
State Accepted
Commit 31016a38e6aa10ac0d4c7e42d16990be3382ba3d
Headers
Series [1/2] advoptions-list: Add domain-search to options - bug#12819 |

Commit Message

Adolf Belka April 4, 2022, 11:49 a.m. UTC
  Fixes: bug#12819
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 html/cgi-bin/dhcp.cgi | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Michael Tremer April 4, 2022, 4:10 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 4 Apr 2022, at 12:49, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> Fixes: bug#12819
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> html/cgi-bin/dhcp.cgi | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/html/cgi-bin/dhcp.cgi b/html/cgi-bin/dhcp.cgi
> index 0a0a21d68..125713285 100644
> --- a/html/cgi-bin/dhcp.cgi
> +++ b/html/cgi-bin/dhcp.cgi
> @@ -800,6 +800,7 @@ if ($dhcpsettings{'SUBMIT'} eq $Lang::tr{'dhcp advopt help'}) {
>     print "<tr><td colspan='2'><hr /></td></tr>\n";
>     print '<tr><td>string type</td><td>"quoted string" or 00:01:FF...</td></tr>';
>     print '<tr><td>ip-address type </td><td>10.0.0.1 | www.dot.com</td></tr>';
> +    print '<tr><td>domain-list type </td><td>"example.com", "eng.example.com", "sales.example.com"</td></tr>';
>     print '<tr><td>int,uint types</td><td>numbers</td></tr>';
>     print '<tr><td>flag type</td><td>on | off</td></tr>';
>     print '</table>';
> -- 
> 2.35.1
>
  

Patch

diff --git a/html/cgi-bin/dhcp.cgi b/html/cgi-bin/dhcp.cgi
index 0a0a21d68..125713285 100644
--- a/html/cgi-bin/dhcp.cgi
+++ b/html/cgi-bin/dhcp.cgi
@@ -800,6 +800,7 @@  if ($dhcpsettings{'SUBMIT'} eq $Lang::tr{'dhcp advopt help'}) {
     print "<tr><td colspan='2'><hr /></td></tr>\n";
     print '<tr><td>string type</td><td>"quoted string" or 00:01:FF...</td></tr>';
     print '<tr><td>ip-address type </td><td>10.0.0.1 | www.dot.com</td></tr>';
+    print '<tr><td>domain-list type </td><td>"example.com", "eng.example.com", "sales.example.com"</td></tr>';
     print '<tr><td>int,uint types</td><td>numbers</td></tr>';
     print '<tr><td>flag type</td><td>on | off</td></tr>';
     print '</table>';