diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-06-24 01:23:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-06-24 01:23:33 +0000 |
commit | 2a691a0aeccb8a2b41a62bf02cbcea83c8109df4 (patch) | |
tree | 150fa12ca8af874b398cf896e06974b5f2a882aa /capture_info.c | |
parent | 2eb5983b4707f274f47fd2c9029f40e8a513f96b (diff) | |
download | wireshark-2a691a0aeccb8a2b41a62bf02cbcea83c8109df4.tar.gz wireshark-2a691a0aeccb8a2b41a62bf02cbcea83c8109df4.tar.bz2 wireshark-2a691a0aeccb8a2b41a62bf02cbcea83c8109df4.zip |
Have capture_info_ui_create() and capture_info_open() take a pointer to
the capture_opts structure as an argument, rather than just a pointer to
the interface name.
Don't declare a global "capture_opts" pointer, as we don't define it any
more.
svn path=/trunk/; revision=25570
Diffstat (limited to 'capture_info.c')
-rw-r--r-- | capture_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_info.c b/capture_info.c index ea236eccd3..3a3c092e3e 100644 --- a/capture_info.c +++ b/capture_info.c @@ -74,7 +74,7 @@ info_data_t info_data; /* open the info */ -void capture_info_open(const char *iface) +void capture_info_open(capture_opts *capture_opts) { info_data.counts.total = 0; info_data.counts.sctp = 0; @@ -92,7 +92,7 @@ void capture_info_open(const char *iface) info_data.wtap = NULL; info_data.ui.counts = &info_data.counts; - capture_info_ui_create(&info_data.ui, iface); + capture_info_ui_create(&info_data.ui, capture_opts); } |