Add polltarget command

This commit is contained in:
Miroslav Lichvar
2010-10-14 15:08:35 +02:00
parent 7ab2c0e4a5
commit bed5b72cbe
9 changed files with 119 additions and 2 deletions

View File

@@ -149,6 +149,8 @@ PKL_CommandLength(CMD_Request *r)
return offsetof(CMD_Request, data.activity.EOR);
case REQ_MODIFY_MINSTRATUM:
return offsetof(CMD_Request, data.modify_minstratum.EOR);
case REQ_MODIFY_POLLTARGET:
return offsetof(CMD_Request, data.modify_polltarget.EOR);
default:
/* If we fall through the switch, it most likely means we've forgotten to implement a new case */
assert(0);