Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-nfdhcpd
Commits
3cbc1569
Commit
3cbc1569
authored
Sep 12, 2012
by
Vangelis Koukis
Browse files
Fix two minor typos in debug messages
parent
8d3dcc3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nfdhcpd
View file @
3cbc1569
...
...
@@ -590,7 +590,8 @@ class VMNetProxy(object): # pylint: disable=R0902
payload
.
set_verdict
(
nfqueue
.
NF_DROP
)
if
mac
!=
binding
.
mac
:
logging
.
warn
(
"Recieved spoofed DHCP request for mac %s from tap %s"
,
mac
,
indev
)
logging
.
warn
(
"Received spoofed DHCP request for mac %s, tap %s"
,
mac
,
indev
)
return
resp
=
Ether
(
dst
=
mac
,
src
=
self
.
get_iface_hw_addr
(
binding
.
indev
))
/
\
...
...
@@ -834,7 +835,7 @@ class VMNetProxy(object): # pylint: disable=R0902
except
socket
.
error
,
e
:
logging
.
warn
(
"Periodic RA on %s failed: %s"
,
tap
,
str
(
e
))
except
Exception
,
e
:
logging
.
warn
(
"Unkown error during periodic RA on %s: %s"
,
logging
.
warn
(
"Unk
n
own error during periodic RA on %s: %s"
,
tap
,
str
(
e
))
i
+=
1
logging
.
debug
(
"Sent %d RAs in %.2f seconds"
,
i
,
time
.
time
()
-
start
)
...
...
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