Created
August 1, 2014 15:04
-
-
Save JustinAzoff/446d0abba2c6dd8ff242 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##! Add the peer to the connection logs. | |
module Conn; | |
export { | |
redef record Conn::Info += { | |
peer: string &optional &log; | |
}; | |
} | |
event connection_state_remove(c: connection) { | |
c$conn$peer = peer_description; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment