diff options
Diffstat (limited to 'ui/capture_ui_utils.c')
-rw-r--r-- | ui/capture_ui_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/capture_ui_utils.c b/ui/capture_ui_utils.c index c5eb9b12a8..825ed4df47 100644 --- a/ui/capture_ui_utils.c +++ b/ui/capture_ui_utils.c @@ -439,7 +439,7 @@ get_if_name(const char *if_text) * Unfortunately, another colon can be used in "rpcap://host:port/" * before port. Check if colon is followed by digit. */ - if ((strncmp(if_name, "://", 3) != 0) && !isdigit(if_name[1])) { + if ((strncmp(if_name, "://", 3) != 0) && !g_ascii_isdigit(if_name[1])) { /* * OK, we've found a colon followed neither by "//" nor by digit. * Skip blanks following it. |