SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
net/ns/patches/patch-mac_mac-simple_cc
Normal file
21
net/ns/patches/patch-mac_mac-simple_cc
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: mac/mac-simple.cc
|
||||
--- mac/mac-simple.cc.orig
|
||||
+++ mac/mac-simple.cc
|
||||
@@ -79,7 +79,7 @@ void MacSimple::trace_event(char *eventtype, Packet *p
|
||||
|
||||
if (wrk != 0)
|
||||
{
|
||||
- sprintf(wrk, "E -t "TIME_FORMAT" %s %s %s",
|
||||
+ sprintf(wrk, "E -t " TIME_FORMAT " %s %s %s",
|
||||
et_->round(Scheduler::instance().clock()),
|
||||
eventtype,
|
||||
src_nodeaddr,
|
||||
@@ -87,7 +87,7 @@ void MacSimple::trace_event(char *eventtype, Packet *p
|
||||
}
|
||||
if (nwrk != 0)
|
||||
{
|
||||
- sprintf(nwrk, "E -t "TIME_FORMAT" %s %s %s",
|
||||
+ sprintf(nwrk, "E -t " TIME_FORMAT " %s %s %s",
|
||||
et_->round(Scheduler::instance().clock()),
|
||||
eventtype,
|
||||
src_nodeaddr,
|
Loading…
Add table
Add a link
Reference in a new issue