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
7aa970e2
Commit
7aa970e2
authored
Apr 01, 2015
by
Stefan Tomanek
Committed by
Simon Kelley
Apr 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace fixes.
parent
30d0879e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/dnsmasq.c
src/dnsmasq.c
+7
-7
src/tftp.c
src/tftp.c
+1
-1
No files found.
src/dnsmasq.c
View file @
7aa970e2
...
...
@@ -345,7 +345,7 @@ int main (int argc, char **argv)
#else
die
(
_
(
"DBus not available: set HAVE_DBUS in src/config.h"
),
NULL
,
EC_BADCONF
);
#endif
if
(
daemon
->
port
!=
0
)
pre_allocate_sfds
();
...
...
@@ -657,7 +657,7 @@ int main (int argc, char **argv)
}
closedir
(
dir
);
}
for
(
p
=
daemon
->
if_prefix
;
p
;
p
=
p
->
next
)
{
p
->
missing
=
0
;
...
...
@@ -669,12 +669,12 @@ int main (int argc, char **argv)
send_event
(
err_pipe
[
1
],
EVENT_TFTP_ERR
,
errno
,
p
->
prefix
);
_exit
(
0
);
}
}
}
closedir
(
dir
);
}
}
#endif
if
(
daemon
->
port
==
0
)
my_syslog
(
LOG_INFO
,
_
(
"started, version %s DNS disabled"
),
VERSION
);
else
if
(
daemon
->
cachesize
!=
0
)
...
...
@@ -784,7 +784,7 @@ int main (int argc, char **argv)
#ifdef HAVE_TFTP
if
(
option_bool
(
OPT_TFTP
))
{
{
struct
tftp_prefix
*
p
;
#ifdef FD_SETSIZE
if
(
FD_SETSIZE
<
(
unsigned
)
max_fd
)
...
...
@@ -795,10 +795,10 @@ int main (int argc, char **argv)
daemon
->
tftp_prefix
?
_
(
"root is "
)
:
_
(
"enabled"
),
daemon
->
tftp_prefix
?
daemon
->
tftp_prefix
:
""
,
option_bool
(
OPT_TFTP_SECURE
)
?
_
(
"secure mode"
)
:
""
);
if
(
tftp_prefix_missing
)
my_syslog
(
MS_TFTP
|
LOG_WARNING
,
_
(
"warning: %s inaccessible"
),
daemon
->
tftp_prefix
);
for
(
p
=
daemon
->
if_prefix
;
p
;
p
=
p
->
next
)
if
(
p
->
missing
)
my_syslog
(
MS_TFTP
|
LOG_WARNING
,
_
(
"warning: TFTP directory %s inaccessible"
),
p
->
prefix
);
...
...
src/tftp.c
View file @
7aa970e2
...
...
@@ -236,7 +236,7 @@ void tftp_request(struct listener *listen, time_t now)
if
(
ioctl
(
listen
->
tftpfd
,
SIOCGIFMTU
,
&
ifr
)
!=
-
1
)
mtu
=
ifr
.
ifr_mtu
;
}
if
(
name
)
{
/* check for per-interface prefix */
...
...
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