/**************************************************
OpengateM - a MAC address authentication system
- module for capturing packets with libpcap
+ module for capturing packets with libpcap
Copyright (C) 2011 Opengate Project Team
Written by Yoshiaki Watanabe
int promiscuous=atoi(GetConfValue("Pcap/Promiscuous")); /* promiscuous mode */
char* dev=GetConfValue("Pcap/Device"); /* pcap device */
- /* set filter expression. conf value might be [(not ether src %s) and ...] */
+ /* set filter expression. conf value might be [(not ether src %s) and ...] */
GetMyMacAddress(myMacAddress);
snprintf(filterExpr, FILTERMAXLN, GetConfValue("Pcap/Filter"), myMacAddress);