// $Id$
//
// Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
prefix_ void senf::EthernetPacketType::finalize(packet p)
{
- optional_registry_key_t k = key(p.next());
+ optional_registry_key_t k = key(p.next(nothrow));
if (k)
p->type_length() << k;
else
prefix_ void senf::EthVLanPacketType::finalize(packet p)
{
- p->type() << key(p.next());
+ p->type() << key(p.next(nothrow));
}