From a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Thu, 22 May 2008 15:46:27 +0000 Subject: Move the file utility functions from wiretap to libwsutil so that libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354 --- rawshark.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rawshark.c') diff --git a/rawshark.c b/rawshark.c index 7b23e847ac..358e4ed993 100644 --- a/rawshark.c +++ b/rawshark.c @@ -73,7 +73,7 @@ #include #include #include -#include +#include #include "globals.h" #include @@ -268,7 +268,7 @@ raw_pipe_open(const char *pipe_name) #endif /* _WIN32 */ } else { #ifndef _WIN32 - if (eth_stat(pipe_name, &pipe_stat) < 0) { + if (ws_stat(pipe_name, &pipe_stat) < 0) { g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "The capture session could not be initiated " "due to error on pipe: %s", strerror(errno)); @@ -288,7 +288,7 @@ raw_pipe_open(const char *pipe_name) } return -1; } - rfd = eth_open(pipe_name, O_RDONLY | O_NONBLOCK, 0000 /* no creation so don't matter */); + rfd = ws_open(pipe_name, O_RDONLY | O_NONBLOCK, 0000 /* no creation so don't matter */); if (rfd == -1) { g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "The capture session could not be initiated " -- cgit v1.2.1