Hello,

I found a bug ! :)

I need this block of configuration for olsrd:

LoadPlugin "olsrd_mdns.so.1.0.1"
{
        PlParam "NonOlsrIf" "br-lan"
        PlParam "TTL_Check" "true"
        PlParam "MDNS_TTL" "20"
}

So I write this UCI syntax

config LoadPlugin
        option library 'olsrd_mdns.so.1.0.1'
        option "NonOlsrIf"  "lan"
        option "TTL_Check"  "true"
        option "MDNS_TTL"   "20"

But I find this wrong block when I check the /var/etc/olsrd.conf
(where underscores _ are changed with dashes - )

LoadPlugin "olsrd_mdns.so.1.0.1"
{
        PlParam "NonOlsrIf" "br-lan"
        PlParam "TTL-Check" "true"
        PlParam "MDNS-TTL" "20"
}

This was tested both with trunk (git commit
05358e592055bbddbbf56dd656903902b1e9d80f) and backfire branch

This should be fixed in UCI ? Or I should patch olsrd ?

thanks

Saverio
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to