diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-06-05 16:54:12 +0200 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-06-05 16:54:12 +0200 |
commit | 3b9f21c6c3f06fd5049aa43f116906417d92e11f (patch) | |
tree | c56d8857408efb99c13f4af458b14d88fd078a40 /cooker/calls/net.c | |
parent | cbf5a607bcd638a1fc8c5b212e1d360528a55b19 (diff) | |
download | seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.gz seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.bz2 seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.lz seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.xz seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.zst seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.zip |
cooker: use unsigned short for family with connect
Diffstat (limited to 'cooker/calls/net.c')
-rw-r--r-- | cooker/calls/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cooker/calls/net.c b/cooker/calls/net.c index 7231a0e..7a7fd33 100644 --- a/cooker/calls/net.c +++ b/cooker/calls/net.c @@ -162,7 +162,7 @@ static struct field connect_addr_nl[] = { }; static struct field connect_family = { - "family", INT, 0, + "family", USHORT, 0, offsetof(struct sockaddr, sa_family), 0, { .d_num = af } }; |