shithub: orca

Download patch

ref: 44a4c5bb1420982b6453aba98810e14f4760ef78
parent: 986cf6b8ab96c2954d78cfdd411cf39f8d4cf77a
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Feb 22 06:44:04 EST 2020

plan9: add "udp" command

--- a/plan9.c
+++ b/plan9.c
@@ -324,6 +324,10 @@
 			free(ip);
 			ip = strdup(a);
 			netdial();
+		} else if (strcmp(s, "udp") == 0) {
+			free(udpport);
+			udpport = strdup(a);
+			netdial();
 		}
 
 		/* FIXME color, find, select, inject, write, time */