Skip to content

Commit

Permalink
Change port from uint16_t to uint32_t, to support VSOCK (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Dec 30, 2023
1 parent a8a62d6 commit 6ba7a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/aws/auth/credentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ struct aws_credentials_provider_ecs_options {
/*
* Port to query credentials from. If zero, 80/443 will be used based on whether or not tls is enabled.
*/
uint16_t port;
uint32_t port;
};

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/credentials_provider_ecs_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct aws_mock_ecs_tester {
struct aws_credentials *credentials;
bool has_received_credentials_callback;
bool has_received_shutdown_callback;
uint16_t selected_port;
uint32_t selected_port;

int error_code;
};
Expand Down

0 comments on commit 6ba7a0f

Please sign in to comment.