Module Name: src
Committed By: christos
Date: Mon Jul 31 23:53:39 UTC 2023
Modified Files:
src/sys/net: bpf.h
Log Message:
put back compat names, should be removed from the sanitizers
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/net/bpf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/bpf.h
diff -u src/sys/net/bpf.h:1.79 src/sys/net/bpf.h:1.80
--- src/sys/net/bpf.h:1.79 Mon Jul 31 13:41:18 2023
+++ src/sys/net/bpf.h Mon Jul 31 19:53:38 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: bpf.h,v 1.79 2023/07/31 17:41:18 christos Exp $ */
+/* $NetBSD: bpf.h,v 1.80 2023/07/31 23:53:38 christos Exp $ */
/*
* Copyright (c) 1990, 1991, 1993
@@ -607,4 +607,9 @@ u_int bpf_filter_with_aux_data(const str
__END_DECLS
+#if 1 /* XXX: remove me, for the benefit of sanitizers */
+#define BIOCGSTATSOLD BIOCGSTATS_30
+#define bpf_stat_old bpf_stat30
+#endif
+
#endif /* !_NET_BPF_H_ */