diff options
author | archie <archie@FreeBSD.org> | 2000-03-01 02:46:25 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-03-01 02:46:25 +0000 |
commit | 08f912afac84d31abd1a26adbbeafc63171987de (patch) | |
tree | 529027dcc6e89fb121ca28c1a33c81bb00187515 /sys/net | |
parent | 40e5c6c2eda7b97c1acff8a01e3f602884339499 (diff) | |
download | FreeBSD-src-08f912afac84d31abd1a26adbbeafc63171987de.zip FreeBSD-src-08f912afac84d31abd1a26adbbeafc63171987de.tar.gz |
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
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_dl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |