Closed thus closed 9 years ago
Yes, defined values would probably be better. I was actually considering just dropping the two values you are refering to all together, since they never change, but I wanted the JSON output to output the same values.
Regarding the second comment, it would be probably be better to rewrite print_passet() and print_passet_err() to be one function instead of two. I just haven't gotten around to doing it yet ;)
Fixed the defined values in: https://github.com/gamelinux/passivedns/commit/c71c6902b20844616ef7817677acc00f9f4e6f42.
Thanks! :)
Thanks! :)
Regarding my above comments, i could look into it myself if you wanted, and send a pull-request. Unless you don't want to implement my comments or want to do it yourself =)