Merge "libnetdbpf: Fix clang-tidy warning"
diff --git a/libnetdbpf/BpfNetworkStats.cpp b/libnetdbpf/BpfNetworkStats.cpp
index fe86cc1..e93a1e6 100644
--- a/libnetdbpf/BpfNetworkStats.cpp
+++ b/libnetdbpf/BpfNetworkStats.cpp
@@ -321,6 +321,8 @@
 }
 
 stats_line& stats_line::operator=(const stats_line& rhs) {
+    if (this == &rhs) return *this;
+
     strlcpy(iface, rhs.iface, sizeof(iface));
     uid = rhs.uid;
     set = rhs.set;