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

[#244] Add feature in order to use loopback as uplink interface in dhcrelay agent #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

artashesbalabekyan
Copy link

Ignore the fatal logging (Example: "Unsupported device type 128 for lo") in common/lpf.c file, add the case for ARPHRD_LOOPBACK type and handle as a ARPHRD_ETHER type interface.

When you specify the loopback interface as uplink using -U option and this interface has one more ip address, except the link local (127.0.0.1/8), use this ip address as outbound uplink "giaddr" in "DHCP Option 82" described in RFC3527.

@lgtm-com
Copy link

lgtm-com bot commented Jun 28, 2022

This pull request introduces 1 alert when merging ce6131e into 31e68e5 - view on LGTM.com

new alerts:

  • 1 for Empty branch of conditional

@tomaszmrugalski
Copy link
Member

The part of this patch related to dhcrelay will not be accepted. See 4.4.3 release notes. Relevant part:

NOTE: The client and relay components are now End-Of-Life.
4.4.3 is the final release for those components.

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