Skip to content

Commit 4f18a73

Browse files
committed
Print correct set-ttl/auto-ttl mode in the status
1 parent 67629fb commit 4f18a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goodbyedpi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ int main(int argc, char *argv[]) {
987987
do_dnsv4_redirect, /* 13 */
988988
do_dnsv6_redirect, /* 14 */
989989
do_allow_no_sni, /* 15 */
990-
ttl_of_fake_packet ? "fixed" : (do_auto_ttl ? "auto" : "disabled"), /* 16 */
990+
do_auto_ttl ? "auto" : (do_fake_packet ? "fixed" : "disabled"), /* 16 */
991991
ttl_of_fake_packet, do_auto_ttl ? auto_ttl_1 : 0, do_auto_ttl ? auto_ttl_2 : 0,
992992
do_auto_ttl ? auto_ttl_max : 0, ttl_min_nhops,
993993
do_wrong_chksum, /* 17 */

0 commit comments

Comments
 (0)