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

fix build failure if OS doesn't support IPV6_TRANSPARENT #12956

Merged
merged 1 commit into from
Sep 2, 2020
Merged

fix build failure if OS doesn't support IPV6_TRANSPARENT #12956

merged 1 commit into from
Sep 2, 2020

Conversation

wgallagher
Copy link

Signed-off-by: Bill Gallagher bgallagher@lyft.com

Commit Message: fix build failure if OS doesn't support IPV6_TRANSPARENT
Additional Description: the build currently fails with: external/envoy/source/common/api/posix/os_sys_calls_impl.cc:145:51: error: use of undeclared identifier 'IPV6_TRANSPARENT'
Risk Level: low

Signed-off-by: Bill Gallagher <bgallagher@lyft.com>
@snowp
Copy link
Contributor

snowp commented Sep 2, 2020

I think this is right but maybe one of the reviewers of the offending PR wants to take a look? @mattklein123 @danzh2010 @chadr123

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -111,7 +111,7 @@ bool OsSysCallsImpl::supportsUdpGso() const {
}

bool OsSysCallsImpl::supportsIpTransparent() const {
#if !defined(__linux__)
#if !defined(__linux__) || !defined(IPV6_TRANSPARENT)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably just remove !defined(__linux__)? I don't feel strongly about it either way.

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

Successfully merging this pull request may close these issues.

3 participants