Developing lightweight computation at the DSG edge

Commit 3a1f25dd authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

Remove unneeded grep in qmp_get_llocal_for_dev function of qmp_functions.sh to optimize.

parent 6e2d6a17
......@@ -36,7 +36,7 @@ SOURCE_NETWORK=1
qmp_get_llocal_for_dev() {
local dev=$1
ip a show dev $dev | grep inet6 | awk '{print $2}'
ip a show dev $dev | awk '/inet6/{print $2}'
}
......
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