cfparse.y (mrouted-4.3) | : | cfparse.y (mrouted-4.4) | ||
---|---|---|---|---|
skipping to change at line 145 | skipping to change at line 145 | |||
break; | break; | |||
} | } | |||
v = &scrap; | v = &scrap; | |||
} | } | |||
} | } | |||
tunnelmods | tunnelmods | |||
{ | { | |||
if (!(v->uv_flags & VIFF_OTUNNEL)) | if (!(v->uv_flags & VIFF_OTUNNEL)) | |||
init_ipip_on_vif(v); | init_ipip_on_vif(v); | |||
logit(LOG_INFO, 0, "installing tunnel from %s to %s as vif #%u - rate | ||||
=%d", | ||||
inet_fmt($2, s1, sizeof(s1)), inet_fmt($3, s2, sizeof(s2)), | ||||
numvifs, v->uv_rate_limit); | ||||
++numvifs; | ||||
} | } | |||
| CACHE_LIFETIME NUMBER | | CACHE_LIFETIME NUMBER | |||
{ | { | |||
if ($2 < MIN_CACHE_LIFETIME) | if ($2 < MIN_CACHE_LIFETIME) | |||
warn("cache-lifetime %d must be at least %d", $2, MIN_CACHE_LIFET IME); | warn("cache-lifetime %d must be at least %d", $2, MIN_CACHE_LIFET IME); | |||
else | else | |||
cache_lifetime = $2; | cache_lifetime = $2; | |||
} | } | |||
| PRUNE_LIFETIME NUMBER | | PRUNE_LIFETIME NUMBER | |||
{ | { | |||
skipping to change at line 894 | skipping to change at line 887 | |||
} | } | |||
yyparse(); | yyparse(); | |||
fclose(fp); | fclose(fp); | |||
} | } | |||
/** | /** | |||
* Local Variables: | * Local Variables: | |||
* indent-tabs-mode: t | * indent-tabs-mode: t | |||
* c-file-style: "ellemtel" | * c-file-style: "cc-mode" | |||
* c-basic-offset: 4 | ||||
* End: | * End: | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
10 lines changed or deleted | 1 lines changed or added |