chiark / gitweb /
crypto debugging, and several bugfixes
authorian <ian>
Tue, 30 May 2000 23:53:01 +0000 (23:53 +0000)
committerian <ian>
Tue, 30 May 2000 23:53:01 +0000 (23:53 +0000)
ipif/forwarder.c

index 0112d90..5867832 100644 (file)
@@ -341,12 +341,12 @@ int main(int argc, const char *const *const argv_in) {
     cdebug(i,"encsetup");
 
     argv_save= argv;
-    mechs[i]->encsetup(&md_in[i], &maxprefix, &maxsuffix);
+    mechs[i]->encsetup(&md_out[i], &maxprefix, &maxsuffix);
 
     argv_done= argv;
     argv= argv_save;
     cdebug(i,"decsetup");
-    mechs[i]->decsetup(&md_out[i]);
+    mechs[i]->decsetup(&md_in[i]);
 
     assert(argv == argv_done);