Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-pointer type ‘const Tins::IP’ #411

Closed
Tomasz158 opened this issue Aug 5, 2020 · 1 comment
Closed

non-pointer type ‘const Tins::IP’ #411

Tomasz158 opened this issue Aug 5, 2020 · 1 comment

Comments

@Tomasz158
Copy link

While following the Sniffing tutorial, I encounter an error:
In function ‘bool doo(Tins::PDU&)’:
base operand of ‘->’ has non-pointer type ‘const Tins::IP’

@Tomasz158
Copy link
Author

it worked when I wrote ip.dst_addr() instead of ip->dst_addr();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant