dect
/
libdect
Archived
13
0
Fork 0

lce: use symbolic identifiers for S-SAP sockaddr

Signed-off-by: Patrick McHardy <kaber <trash.net>
This commit is contained in:
Patrick McHardy 2011-03-21 17:15:04 +01:00
parent 7a75194dde
commit 77ace09859
1 changed files with 2 additions and 2 deletions

View File

@ -1766,8 +1766,8 @@ int dect_lce_init(struct dect_handle *dh)
memset(&s_addr, 0, sizeof(s_addr));
s_addr.dect_family = AF_DECT;
s_addr.dect_index = dh->index;
s_addr.dect_lln = 1;
s_addr.dect_sapi = 0;
s_addr.dect_lln = DECT_LLN_ANY;
s_addr.dect_sapi = DECT_SAPI_ANY;
if (bind(dh->s_sap->fd, (struct sockaddr *)&s_addr,
sizeof(s_addr)) < 0)