Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-04 Thread Wang Linetkux
Hi, I think you can setup two default route with different/proper metric value. Which means you use one of them as the backup line, and the other as the main line. Thanks, Rujun 2016-07-04 16:14 GMT+08:00 Baptiste Clenet : > Hi, > > On my board, I've got a wifi and an

Re: [LEDE-DEV] [UBUS] [PATCH] Issue of msgbuf_data_len in ubus_context

2016-06-18 Thread Wang Linetkux
ubus_context *ctx, int len) return false; ctx->msgbuf.data = ptr; + ctx->msgbuf_data_len = len; return true; } 2016-06-19 12:16 GMT+08:00 Wang Linetkux <china...@gmail.com>: > Hi, Guys > Since I cannot find other places to send thi

[LEDE-DEV] [UBUS] [PATCH] Issue of msgbuf_data_len in ubus_context

2016-06-18 Thread Wang Linetkux
Hi, Guys Since I cannot find other places to send this patch, so I send it here, and hope it does not bother you. "alloc_msg_buf" function in "ubus/libubus-io.c" has the feature that expand or shrink msg buffer when necessary. But I have noticed that "msgbuf_data_len" has been properly set