Back to index

natlog  0.91.0
testconntrack.cc
Go to the documentation of this file.
00001 #include "natfork.ih"
00002 
00003 void NatFork::conntrackMode()
00004 {
00005     char const *conntrack = d_options.conntrackPath().c_str();
00006 
00007     if (access(conntrack, R_OK | X_OK) != 0)
00008     {
00009         d_stdMsg << "[Fatal] Can't execute " << conntrack << endl;
00010         throw Options::FAILED;
00011     }
00012     d_mode = CONNTRACK;
00013 }