X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet_setup.c;h=b31bed737e0653ae0a0c8fb1a7bf130a6c6364a0;hb=3f59a26d8098b8b0902b8746715508360b347f47;hp=c51c133631f8d800b06f2644d086628d65fc46c2;hpb=886a6f61a1f4cc48a77b42d10f34f9126377d904;p=tinc diff --git a/src/net_setup.c b/src/net_setup.c index c51c1336..b31bed73 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -415,7 +415,7 @@ bool setup_myself(void) { /* Check if we want to use message authentication codes... */ - if(!get_config_string(lookup_config(myself->connection->config_tree, "Digest"), &digest)) + if(!get_config_string(lookup_config(config_tree, "Digest"), &digest)) digest = xstrdup("sha1"); int maclength = 4;