Fix two memory leaks.
[cascardo/ovs.git] / tests / ovs-vswitchd.at
index 9f9721b..cbe0ee9 100644 (file)
@@ -29,7 +29,7 @@ AT_CLEANUP
 
 dnl ----------------------------------------------------------------------
 m4_define([OVS_VSCTL_CHECK_RX_PKT], [
-AT_CHECK([ovs-vsctl list int $1 | grep statistics | sed -n 's/^.*\(rx_packets=[[0-9]]\+\).*$/\1/p'],[0],
+AT_CHECK([ovs-vsctl list int $1 | grep statistics | sed -n 's/^.*\(rx_packets=[[0-9]][[0-9]]*\).*$/\1/p'],[0],
 [dnl
 rx_packets=$2
 ])