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

add environment variable attribute Framed-IPv6-Prefix when present #87

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

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Apr 6, 2024

Fixes #86 (comment).

The current code implies `int` is 4 bytes - which it is on current Linux
platforms - and that `attr_fip->data` is aligned - which I presume it is.

Neverthless, it might be clearer to use memcpy() here.

From the  Linux header <linux/in.h> :
	/* Internet address. */
	struct in_addr {
		__be32	s_addr;
	};
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review April 13, 2024 12:32
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.

ocserv rewrite framed ip from radius
1 participant