diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index 9544bb3d..3ed65a60 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -547,7 +547,7 @@ class Session(object): myport = self.socket.getsockname()[1] for sockaddr in self.allsockaddrs: if (sockaddr in Session.bmc_handlers and - myport in Session.bmc_hansdlers[sockaddr]): + myport in Session.bmc_handlers[sockaddr]): del Session.bmc_handlers[sockaddr][myport] if Session.bmc_handlers[sockaddr] == {}: del Session.bmc_handlers[sockaddr]