Skip to content

dcerpc: fix building on OpenBSD - #472

Merged
sahlberg merged 1 commit into
sahlberg:masterfrom
brad0:dcerpc_socket
Aug 9, 2026
Merged

dcerpc: fix building on OpenBSD#472
sahlberg merged 1 commit into
sahlberg:masterfrom
brad0:dcerpc_socket

Conversation

@brad0

@brad0 brad0 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor
libdcerpc/dcerpc-epm.c:1327:31: error: use of undeclared identifier 'AF_INET'
 1327 |                 if (inet_pton(AF_INET, ipv4, &addr) != 1) {
      |                               ^~~~~~~
libdcerpc/dcerpc-epm.c:1496:23: error: use of undeclared identifier 'AF_INET'
 1496 |         if (inet_ntop(AF_INET, rhs, ipbuf, sizeof(ipbuf)) == NULL) {
      |                       ^~~~~~~
2 errors generated.

libdcerpc/dcerpc-epm.c:1327:31: error: use of undeclared identifier 'AF_INET'
 1327 |                 if (inet_pton(AF_INET, ipv4, &addr) != 1) {
      |                               ^~~~~~~
libdcerpc/dcerpc-epm.c:1496:23: error: use of undeclared identifier 'AF_INET'
 1496 |         if (inet_ntop(AF_INET, rhs, ipbuf, sizeof(ipbuf)) == NULL) {
      |                       ^~~~~~~
2 errors generated.
@sahlberg
sahlberg merged commit 0b1f2fc into sahlberg:master Aug 9, 2026
15 of 16 checks passed
@sahlberg

sahlberg commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Merged, thanks!

@brad0
brad0 deleted the dcerpc_socket branch August 9, 2026 03:04
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.

2 participants