From 08f912afac84d31abd1a26adbbeafc63171987de Mon Sep 17 00:00:00 2001 From: archie Date: Wed, 1 Mar 2000 02:46:25 +0000 Subject: The "sdl_family" field in a "struct sockaddr_dl" will be equal to AF_LINK, not AF_DLI, as stated in the comment. Fix the comment. Reviewed by: wollman --- sys/net/if_dl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/if_dl.h b/sys/net/if_dl.h index 92ea90f..03e1626 100644 --- a/sys/net/if_dl.h +++ b/sys/net/if_dl.h @@ -60,7 +60,7 @@ */ struct sockaddr_dl { u_char sdl_len; /* Total length of sockaddr */ - u_char sdl_family; /* AF_DLI */ + u_char sdl_family; /* AF_LINK */ u_short sdl_index; /* if != 0, system given index for interface */ u_char sdl_type; /* interface type */ u_char sdl_nlen; /* interface name length, no trailing 0 reqd. */ -- cgit v1.1