Utils/Console: Add short help to 'ls' output
[senf.git] / Packets / Packet.cc
index 1522add..06d6463 100644 (file)
@@ -1,6 +1,8 @@
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// $Id$
+//
+// Copyright (C) 2007
+// 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
@@ -48,10 +50,10 @@ prefix_ senf::Packet senf::Packet::checkLast()
     const
 {
     Packet p (*this);
-    Packet n (p.next());
+    Packet n (p.next(nothrow));
     while (n) {
         p = n;
-        n = p.next();
+        n = p.next(nothrow);
     }
     return p;
 }