[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #32686 [Core Tor/Nyx]: Show TOR Dns port status from controller



#32686: Show TOR Dns port status from controller
--------------------------+--------------------------------
 Reporter:  bounteous17   |          Owner:  atagar
     Type:  enhancement   |         Status:  needs_revision
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Nyx  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+--------------------------------

Comment (by atagar):

 > I wanted to follow the same logic as the control_port.

 Gotcha. That is correct (control_port is the logic to pattern this after),
 but that checked for None rather than zero...

 {{{
   if vals.control_port:
     if width >= x + 19 + len(vals.control_port) + len(vals.auth_type):
       auth_color = RED if vals.auth_type == 'open' else GREEN
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32686#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs