summaryrefslogtreecommitdiffstats
path: root/tools/perf/trace/beauty/socket.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/trace/beauty/socket.sh')
-rwxr-xr-xtools/perf/trace/beauty/socket.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/trace/beauty/socket.sh b/tools/perf/trace/beauty/socket.sh
index 6094e2411fa5..7f1c9f0097c1 100755
--- a/tools/perf/trace/beauty/socket.sh
+++ b/tools/perf/trace/beauty/socket.sh
@@ -12,5 +12,5 @@ ipproto_regex='^[[:space:]]+IPPROTO_(\w+)[[:space:]]+=[[:space:]]+([[:digit:]]+)
egrep $ipproto_regex ${uapi_header_dir}/in.h | \
sed -r "s/$ipproto_regex/\2 \1/g" | \
- sort | xargs printf "\t[%s] = \"%s\",\n"
+ sort -n | xargs printf "\t[%s] = \"%s\",\n"
printf "};\n"