Fix sb_state constant names as used e.g. to display in DDB ``show sockbuf''.

MFC after:	1 week
This commit is contained in:
pluknet 2015-07-21 09:57:13 +00:00
parent e4870a15db
commit 4ece29fe27

View File

@ -209,15 +209,15 @@ db_print_sbstate(short sb_state)
comma = 0;
if (sb_state & SBS_CANTSENDMORE) {
db_printf("%sSS_CANTSENDMORE", comma ? ", " : "");
db_printf("%sSBS_CANTSENDMORE", comma ? ", " : "");
comma = 1;
}
if (sb_state & SBS_CANTRCVMORE) {
db_printf("%sSS_CANTRCVMORE", comma ? ", " : "");
db_printf("%sSBS_CANTRCVMORE", comma ? ", " : "");
comma = 1;
}
if (sb_state & SBS_RCVATMARK) {
db_printf("%sSS_RCVATMARK", comma ? ", " : "");
db_printf("%sSBS_RCVATMARK", comma ? ", " : "");
comma = 1;
}
}