From 33d0e2a76d440b3ef92b8573db2f386a7b021f90 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Wed, 1 Mar 2000 02:46:25 +0000 Subject: [PATCH] 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(-) diff --git a/sys/net/if_dl.h b/sys/net/if_dl.h index 92ea90f921ab..03e1626892dc 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. */