added the dl field in the hawk_skad_alt_t union

This commit is contained in:
hyung-hwan 2021-08-19 23:38:39 +00:00
parent ccd2ce2297
commit 05f8ef7100

View File

@ -57,6 +57,9 @@ union hawk_skad_alt_t
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_UN > 0) #if (HAWK_SIZEOF_STRUCT_SOCKADDR_UN > 0)
struct sockaddr_un un; struct sockaddr_un un;
#endif #endif
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_DL > 0)
struct sockaddr_dl dl;
#endif
}; };
typedef union hawk_skad_alt_t hawk_skad_alt_t; typedef union hawk_skad_alt_t hawk_skad_alt_t;