diff options
Diffstat (limited to 'backend/pixma/pixma_bjnp.c')
-rw-r--r-- | backend/pixma/pixma_bjnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/pixma/pixma_bjnp.c b/backend/pixma/pixma_bjnp.c index 63dd56d..75ad658 100644 --- a/backend/pixma/pixma_bjnp.c +++ b/backend/pixma/pixma_bjnp.c @@ -994,7 +994,7 @@ prepare_socket(const char *if_name, const bjnp_sockaddr_t *local_sa, /* send broadcasts to the broadcast address of the interface */ - memcpy(dest_sa, broadcast_sa, sa_size(dest_sa) ); + memcpy(dest_sa, broadcast_sa, sa_size(broadcast_sa) ); /* we fill port when we send the broadcast */ dest_sa -> ipv4.sin_port = htons(0); |