Sent: 21 June 2016 17:19
By combining the attribute extraction and check for existence, the
additional indentation level in the 'else' clause can be avoided.
In addition to that, common actions for 'daddr' are combined since the
function returns if neither of the branches are taken.
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
ip/tcp_metrics.c | 45 ++++++++++++++++++---------------------------
1 file changed, 18 insertions(+), 27 deletions(-)