Developing lightweight computation at the DSG edge

Commit 6e2d6a17 authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

Remove unneeded printf in qmp_configure_network function of qmp_functions.sh to optimize.

parent bb3792c8
......@@ -527,7 +527,7 @@ qmp_configure_network() {
[ $UCI_OFFSET -lt $NUM_GRP ] && OFFSET=$UCI_OFFSET
START=$(( $(printf %d 0x$community_node_id) * $NUM_GRP + $OFFSET ))
START=$(( 0x$community_node_id * $NUM_GRP + $OFFSET ))
LIMIT=$(( $NUM_GRP - $OFFSET ))
uci set dhcp.lan.leasetime="$(uci get qmp.non_overlapping.qmp_leasetime)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment