Hello Maurice,
On 14 Nov 16 07:10, Maurice Kinal wrote to Nicholas Boel:
MK> ---------- ye olde gpm cut n' paste starts
MK> # generate Type 2 pktHeader
MK> PKT_DATE=( $(date +"%Y %-m %-d %-H %-M %-S" | \
MK> awk 'BEGIN { OFS = "," } {print $1, $2-1, $3, $4, $5, $6}') )
MK> echo -e
MK> "$origNode,$destNode,${PKT_DATE[@]},0,2,$origNet,$destNet,0,0,,$origZo
MK> ne,$destZone," | \ perl -e 'while(){@myarray = split(/,/, $_);};\
MK> print pack("S12C2a8S2a20", @myarray);' > $OUTPKT
MK> ---------- ye olde gpm cut n' paste ends
Looks good. That brings up the differences between type 2 and type 2+ though. I
believe zone and point information was introduced. If we can get it there,
maybe that's as far as we should go until we can get some proof that anything
further may or may not work.
Maybe Mark can get in on the fun and try sending me a netmail from one of his
softwares that handles type 2.2 headers to see if it processes? (hint hint I
know he's reading). :)
MK> Anyhow I am glad to see type 2 pkt headers working again. I am going
MK> to leave the type 2.2 links as is for now as I think that is a better
MK> type especially for nodes that cannot do datetime stamps.
Definitely.
MK> Time for bed. I earned it methinks.
Agreed. Well done for a day's work, eh? :)
Regards,
Nick
... "Не знаю. Я здесь только работаю."
--- GoldED+/LNX 1.1.5-b20160827
* Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
|