ip/ipconfig: default onlink and autoflag to 1

This commit is contained in:
cinap_lenrek 2018-09-28 18:16:08 +02:00
parent 02b867f01e
commit 9ee967663f

View file

@ -174,8 +174,7 @@ v6paraminit(Conf *cf)
cf->routerlt = 0;
cf->prefixlen = 64;
cf->onlink = 0;
cf->autoflag = 0;
cf->onlink = cf->autoflag = 1;
cf->validlt = cf->preflt = ~0L;
}