diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-06-10 18:33:55 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-06-11 01:38:13 +0000 |
commit | deddb545b82f52d4514cb5d9d538bbfee67dfc20 (patch) | |
tree | aa2a250de284b418e780276c762c0a7418d43c51 /dumpcap.c | |
parent | dd87f2018a45de643d05bc426e9353a1d67bb037 (diff) |
Offer a permissions suggestion for macOS.
If the user installed from the wireshark.org package, perhaps they chose
not to install the "Set capture permissions on startup" item. Suggest
that they choose otherwise.
Change-Id: Ic5053da9cb6e54e7a7b1aa5a9dd59a1a84ddee16
Reviewed-on: https://code.wireshark.org/review/28197
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -568,6 +568,12 @@ relinquish_all_capabilities(void) "On Debian and Debian derivatives such as Ubuntu, if you have " \ "installed Wireshark from a package, try running " \ "\"dpkg-reconfigure wireshark-common\"." +#elif defined(__APPLE__) + #define PLATFORM_PERMISSIONS_SUGGESTION \ + "\n\n" \ + "If you installed Wireshark using the package from wireshark.org, "\ + "Try re-installing it and checking the box for the \"Set capture " \ + "permissions on startup\" item." #else #define PLATFORM_PERMISSIONS_SUGGESTION #endif |