conupefox / tb-tun

Automatically exported from code.google.com/p/tb-tun
0 stars 0 forks source link

compiler error #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. gcc -o tb_userspace.new -lpthread tb_userspace.c
2. it complains about missing defintion of ETH_P_IPV6
3.

What is the expected output? What do you see instead?
Expected compilation without warning and errors.
Complain about missing definition and wrong parameter type.

What version of the product are you using? On what operating system?
CentOS on burst.net VPS

Please provide any additional information below.

The patch attached include the linux/if_ether.h for this definition and a
type cast to remove a compiler warning when using a sockaddr_in in a
sockaddr parameter

Original issue reported on code.google.com by ivanfm.l...@gmail.com on 20 Apr 2010 at 5:27

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by lostrive...@gmail.com on 25 Apr 2010 at 5:25