]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
"device" in the "pcap_md" structure is a copy of a string, and needn't
[libpcap] / pcap-int.h
index 5d31873082190eb2754710002d047c9fa1444d56..d63a2845bebcf285d5e0f94514ced928264c927e 100644 (file)
@@ -30,7 +30,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.42 2002-12-22 02:36:49 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.43 2002-12-28 00:44:04 guy Exp $ (LBL)
  */
 
 #ifndef pcap_int_h
@@ -73,7 +73,7 @@ struct pcap_md {
        int     clear_promisc;  /* must clear promiscuous mode when we close */
        int     cooked;         /* using SOCK_DGRAM rather than SOCK_RAW */
        int     lo_ifindex;     /* interface index of the loopback device */
-       const char *device;     /* device name */
+       char    *device;        /* device name */
        struct pcap *next;      /* list of open promiscuous sock_packet pcaps */
 #endif
 };