Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Benjamin Graillot
scripts
Commits
e55e04aa
Commit
e55e04aa
authored
Nov 10, 2013
by
Vincent Le gallic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[arpwatch] Ça l'air de marcher, on droppe vraiment les mails inutiles maintenant.
parent
d1ab00de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
surveillance/arpwatch/report.py
surveillance/arpwatch/report.py
+1
-3
No files found.
surveillance/arpwatch/report.py
View file @
e55e04aa
...
...
@@ -114,9 +114,7 @@ def report(texte, fallback=False):
textes
.
append
(
u
'
\n
--
\n
arpwatch_sendmail.py
\n
'
)
out
=
''
.
join
(
textes
)
if
recipients
:
if
drop_report
(
subject
,
ip
):
subject
+=
u
"(should be dropped)"
if
recipients
and
not
drop_report
(
subject
,
ip
):
sendmail
(
u
"arpwatch@crans.org"
,
recipients
,
subject
,
out
,
more_headers
=
{
'X-Mailer'
:
__file__
,
...
...
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