提交 9c68a6ee 编写于 作者: K Kozlov Dmitry

shaper: add missing install rules

上级 bdf5bd00
ADD_LIBRARY(shaper SHARED shaper.c limiter.c tc_core.c libnetlink.c)
INSTALL(TARGETS shaper
LIBRARY DESTINATION lib/accel-ppp
)
......@@ -479,6 +479,8 @@ int init_ifb(const char *name)
.quantum = conf_r2q,
.qdisc = qdisc_htb_root,
};
system("modprobe ifb");
memset(&ifr, 0, sizeof(ifr));
strcpy(ifr.ifr_name, name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册