diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-07 10:23:05 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-07 10:23:05 -0700 |
commit | d1ab12c5ea8ce79fb7bad03a423c7cfb394ea9eb (patch) | |
tree | deddbf707f2531e148c2b56f83e5fbbb3e8b4820 /pcap-septel.c | |
parent | 23e0a020de04153f19bb4842821b91a5fd5b194e (diff) |
Rename the "private" member of a pcap_t to avoid C++ issues.
"private" is a C++ keyword; rename the "private" member of a pcap_t to
"priv" to avoid that, as per Gisle Vanem's suggestion.
Diffstat (limited to 'pcap-septel.c')
-rw-r--r-- | pcap-septel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-septel.c b/pcap-septel.c index 1210b7ce..4ca7a605 100644 --- a/pcap-septel.c +++ b/pcap-septel.c @@ -64,7 +64,7 @@ struct pcap_septel { */ static int septel_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) { - struct pcap_septel *ps = p->private; + struct pcap_septel *ps = p->priv; HDR *h; MSG *m; int processed = 0 ; @@ -246,7 +246,7 @@ pcap_t *septel_create(const char *device, char *ebuf, int *is_ours) { } static int septel_stats(pcap_t *p, struct pcap_stat *ps) { - struct pcap_septel *handlep = p->private; + struct pcap_septel *handlep = p->priv; /*handlep->stat.ps_recv = 0;*/ /*handlep->stat.ps_drop = 0;*/ |