Take the 0.6.0 opportunity to add flags to a few protocol verbs and do a bit more cleanup. Also fix it so certificates wont be accepted unless they are newer than existing ones.
This commit is contained in:
parent
555471200c
commit
ce14ba9004
7 changed files with 84 additions and 68 deletions
|
@ -198,14 +198,14 @@ public:
|
|||
/**
|
||||
* @return Timestamp for this cert in ms since epoch (according to netconf's clock)
|
||||
*/
|
||||
inline Address timestamp() const
|
||||
inline uint64_t timestamp() const
|
||||
throw()
|
||||
{
|
||||
for(std::vector<_Qualifier>::const_iterator q(_qualifiers.begin());q!=_qualifiers.end();++q) {
|
||||
if (q->id == COM_RESERVED_ID_TIMESTAMP)
|
||||
return Address(q->value);
|
||||
return q->value;
|
||||
}
|
||||
return Address();
|
||||
return 0ULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue