keystream fixes

This commit is contained in:
jrandom
2004-05-11 02:43:52 +00:00
committed by zzz
parent 3bab2d8957
commit fd4bc5e3cf

View File

@ -234,9 +234,9 @@ public class SAMv1Handler extends SAMHandler implements SAMRawReceiver, SAMDatag
props.remove("STYLE"); props.remove("STYLE");
if (style.equals("RAW")) { if (style.equals("RAW")) {
rawSession = new SAMRawSession(dest, props, this); rawSession = new SAMRawSession(destKeystream, props, this);
} else if (style.equals("DATAGRAM")) { } else if (style.equals("DATAGRAM")) {
datagramSession = new SAMDatagramSession(dest, props,this); datagramSession = new SAMDatagramSession(destKeystream, props,this);
} else if (style.equals("STREAM")) { } else if (style.equals("STREAM")) {
String dir = props.getProperty("DIRECTION"); String dir = props.getProperty("DIRECTION");
if (dir == null) { if (dir == null) {