Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zephyr/subsys/bacnet_datalink/bip-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ static int createSocket(struct sockaddr_in *sin)
* @return True if the socket is successfully opened for BACnet/IP,
* else False if the socket functions fail.
*/
bool bip_init(char *ifname)
bool bip_init(const char *ifname)
{
int sock_fd;
struct sockaddr_in sin = { 0 };
Expand Down
2 changes: 1 addition & 1 deletion zephyr/subsys/bacnet_datalink/bip6-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ void bip6_cleanup(void)
* @return True if the socket is successfully opened for BACnet/IP,
* else False if the socket functions fail.
*/
bool bip6_init(char *ifname)
bool bip6_init(const char *ifname)
{
int status = -1;
struct sockaddr_in6 server = { 0 };
Expand Down