If we've authenticated, we are already in the child and we don't need the
socket anymore. XXX: pullup-7, pullup-8
This commit is contained in:
parent
44c2442df2
commit
fc0e1a5a51
|
@ -30,6 +30,10 @@ pfilter_notify(int a)
|
|||
// XXX: 3?
|
||||
fd = packet_connection_is_on_socket() ? packet_get_connection_in() : 3;
|
||||
(void)blacklist_r(blstate, a, fd, "ssh");
|
||||
if (a == 0) {
|
||||
blacklist_close(blstate);
|
||||
blstate = NULL;
|
||||
}
|
||||
#else
|
||||
__USE(a);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue