Gary E. Miller <g...@rellim.com>:
> Yo Eric!
> 
> Whoops:
> 
> #  ntpq/pyntpq -p
> Traceback (most recent call last):
>   File "ntpq/pyntpq", line 1441, in <module>
>     interpreter.onecmd(cmd)
>   File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
>     return func(arg)
>   File "ntpq/pyntpq", line 1051, in do_peers
>     self.__dopeers(showall=False, mode="peers")
>   File "ntpq/pyntpq", line 270, in __dopeers
>     if not self.__dogetassoc():
>   File "ntpq/pyntpq", line 173, in __dogetassoc
>     self.peers = self.session.readstat()
>   File "/u1/src/NTP/ntpsec/ntpq/ntp/packet.py", line 594, in readstat
>     self.doquery(opcode=CTL_OP_READSTAT, associd=associd)
>   File "/u1/src/NTP/ntpsec/ntpq/ntp/packet.py", line 581, in doquery
>     res = self.getresponse(opcode, associd, not retry)
>   File "/u1/src/NTP/ntpsec/ntpq/ntp/packet.py", line 461, in getresponse
>     rawdata = polystr(self.sock.recv(4096))
> socket.error: [Errno 111] Connection refused
> 
> This happens when I kill the ntpd on the localhost.  Prolly easy to fix.

Trivial.  Pushed.  You should now get a "connection timed out" message.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to