[Olsr-dev] Lockfile naming bug in 0.9.x

Malte (spam-protected)
Fri Jun 19 12:19:11 CEST 2015


Hi!

We're running two OLSRd instances on our routers (one IPv4, one IPv6). 
0.9.x breaks with that setup since there seems to be a bug that causes the 
default lockfile name always set to be "olsrd-ipv4.lock".

This bug seems to have been introduced in
http://www.olsr.org/git/?p=olsrd.git;a=commitdiff;h=089c78e208dcb0802ce93f47554a502ab8b77be5

olsrd_get_default_lockfile()
http://www.olsr.org/git/?p=olsrd.git;a=blob;f=src/cfgparser/olsrd_conf.c;h=30e2829cfd1be2717fc25639a9cbdb0da5fea466;hb=089c78e208dcb0802ce93f47554a502ab8b77be5#l976
always sees cnf->ip_version==AF_INET, as that's the default that was just set in line 932.

Best,
Malte




More information about the Olsr-dev mailing list