~ubuntu-branches/ubuntu/vivid/ettercap/vivid-proposed

« back to all changes in this revision

Viewing changes to src/ec_main.c

  • Committer: Package Import Robot
  • Author(s): Barak A. Pearlmutter
  • Date: 2013-01-04 18:16:56 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20130104181656-cwrnpihky3eauthj
Tags: 1:0.7.5.1-1
* update patches
* new upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    along with this program; if not, write to the Free Software
18
18
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
19
 
20
 
    $Id: ec_main.c,v 1.68 2005/06/24 13:52:12 alor Exp $
21
20
*/
22
21
 
23
22
#include <ec.h>
113
112
    */
114
113
   if(!GBL_OPTIONS->read && !GBL_OPTIONS->unoffensive && !GBL_OPTIONS->only_mitm) {
115
114
      disable_ip_forward();
 
115
        
 
116
#ifdef OS_LINUX
 
117
      disable_interface_offload();
 
118
#endif
116
119
      /* binds ports and set redirect for ssl wrapper */
117
120
      if(GBL_SNIFF->type == SM_UNIFIED && GBL_OPTIONS->ssl_mitm)
118
121
         ssl_wrap_init();
268
271
   /* 
269
272
    * a nice easter egg... 
270
273
    * just to waste some time of code reviewers... ;) 
271
 
    *
272
 
    * and no, you can't simply remove this code, you'll break the license...
 
274
    * ALoR, keeping this for you buddy! :)
273
275
    *
274
276
    * trust me, it's not evil ;) only a boring afternoon, and nothing to do...
275
277
    */