Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
22c0f4fe
Commit
22c0f4fe
authored
Feb 17, 2016
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix previous commit.
parent
9e4cf47e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/option.c
src/option.c
+3
-2
No files found.
src/option.c
View file @
22c0f4fe
...
@@ -452,7 +452,7 @@ static struct {
...
@@ -452,7 +452,7 @@ static struct {
{
LOPT_PXE_PROMT
,
ARG_DUP
,
"<prompt>,[<timeout>]"
,
gettext_noop
(
"Prompt to send to PXE clients."
),
NULL
},
{
LOPT_PXE_PROMT
,
ARG_DUP
,
"<prompt>,[<timeout>]"
,
gettext_noop
(
"Prompt to send to PXE clients."
),
NULL
},
{
LOPT_PXE_SERV
,
ARG_DUP
,
"<service>"
,
gettext_noop
(
"Boot service for PXE menu."
),
NULL
},
{
LOPT_PXE_SERV
,
ARG_DUP
,
"<service>"
,
gettext_noop
(
"Boot service for PXE menu."
),
NULL
},
{
LOPT_TEST
,
0
,
NULL
,
gettext_noop
(
"Check configuration syntax."
),
NULL
},
{
LOPT_TEST
,
0
,
NULL
,
gettext_noop
(
"Check configuration syntax."
),
NULL
},
{
LOPT_ADD_MAC
,
ARG_DUP
,
"[=base64]"
,
gettext_noop
(
"Add requestor's MAC address to forwarded DNS queries."
),
NULL
},
{
LOPT_ADD_MAC
,
ARG_DUP
,
"[=base64
|text
]"
,
gettext_noop
(
"Add requestor's MAC address to forwarded DNS queries."
),
NULL
},
{
LOPT_ADD_SBNET
,
ARG_ONE
,
"<v4 pref>[,<v6 pref>]"
,
gettext_noop
(
"Add specified IP subnet to forwarded DNS queries."
),
NULL
},
{
LOPT_ADD_SBNET
,
ARG_ONE
,
"<v4 pref>[,<v6 pref>]"
,
gettext_noop
(
"Add specified IP subnet to forwarded DNS queries."
),
NULL
},
{
LOPT_CPE_ID
,
ARG_ONE
,
"<text>"
,
gettext_noop
(
"Add client identification to forwarded DNS queries."
),
NULL
},
{
LOPT_CPE_ID
,
ARG_ONE
,
"<text>"
,
gettext_noop
(
"Add client identification to forwarded DNS queries."
),
NULL
},
{
LOPT_DNSSEC
,
OPT_DNSSEC_PROXY
,
NULL
,
gettext_noop
(
"Proxy DNSSEC validation results from upstream nameservers."
),
NULL
},
{
LOPT_DNSSEC
,
OPT_DNSSEC_PROXY
,
NULL
,
gettext_noop
(
"Proxy DNSSEC validation results from upstream nameservers."
),
NULL
},
...
@@ -2174,7 +2174,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
...
@@ -2174,7 +2174,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
set_option_bool
(
OPT_MAC_B64
);
set_option_bool
(
OPT_MAC_B64
);
else
if
(
strcmp
(
arg
,
"text"
)
==
0
)
else
if
(
strcmp
(
arg
,
"text"
)
==
0
)
set_option_bool
(
OPT_MAC_HEX
);
set_option_bool
(
OPT_MAC_HEX
);
ret_err
(
gen_err
);
else
ret_err
(
gen_err
);
}
}
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment