diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-15 21:56:30 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-15 21:56:30 +0300 |
commit | 56762d9574d05bff9709c856f9f466c51156f549 (patch) | |
tree | ceadbd7d1fd9c77e2e95fe05ece7090abe68df92 | |
parent | 1d338e573cf37bab6131ef5370c2b6d82cdf25ee (diff) | |
download | accel-ppp-56762d9574d05bff9709c856f9f466c51156f549.tar.gz accel-ppp-56762d9574d05bff9709c856f9f466c51156f549.zip |
tbf: fixed incorrect burst value of policer
-rw-r--r-- | accel-pppd/extra/shaper_tbf.c | 2 | ||||
-rw-r--r-- | cmake/debian/debian.cmake | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/accel-pppd/extra/shaper_tbf.c b/accel-pppd/extra/shaper_tbf.c index 43f502c1..ddd7e350 100644 --- a/accel-pppd/extra/shaper_tbf.c +++ b/accel-pppd/extra/shaper_tbf.c @@ -711,7 +711,7 @@ static void ev_radius_access_accept(struct ev_radius_t *ev) down_speed = pd->cur_tr->down_speed; up_speed = pd->cur_tr->up_speed; down_burst = pd->cur_tr->down_burst; - up_burst = pd->cur_tr->up_speed; + up_burst = pd->cur_tr->up_burst; } if (down_speed > 0 && up_speed > 0) { diff --git a/cmake/debian/debian.cmake b/cmake/debian/debian.cmake index 75c823d6..3de8b73b 100644 --- a/cmake/debian/debian.cmake +++ b/cmake/debian/debian.cmake @@ -2,8 +2,12 @@ SET(CPACK_PACKAGING_INSTALL_PREFIX "/usr") SET(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}) if (BUILD_DRIVER_ONLY) - SET(CPACK_PACKAGE_NAME "accel-ppp-kmod") - SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "accel-ppp kernel module") + SET(CPACK_PACKAGE_VERSION_MAJOR "0") + SET(CPACK_PACKAGE_VERSION_MINOR "8") + SET(CPACK_PACKAGE_VERSION_PATCH "5") + SET(CPACK_PACKAGING_INSTALL_PREFIX "/") + SET(CPACK_PACKAGE_NAME "accel-pptp-kmod") + SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "accel-pptp kernel module") SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/cmake/debian-kmod/postinst") INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/driver/driver/pptp.ko DESTINATION lib/modules/${DEBIAN_KDIR}/extra) #SET(CPACK_DEBIAN_PACKAGE_DEPENDS "linux-image (= ${LINUX_IMAGE})") |