X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnowsbr.c;h=5fcba33c9d20be52d6e210224886c82a7b5bfaf8;hp=a7194319bda6ef44cbba338f548961807471778d;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=e98f7f60095bceba1f32e448c421b3e862b728aa diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index a719431..5fcba33 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -1044,7 +1044,7 @@ static struct swit sendswitches[] = { #define CLIESW 30 { "client host", -6 }, #define SERVSW 31 - { "server host", -6 }, + { "server host", 6 }, #define SNOOPSW 32 { "snoop", -5 }, #define SDRFSW 33 @@ -1058,11 +1058,13 @@ static struct swit sendswitches[] = { #define SASLMECHSW 37 { "saslmech", SASLminc(-5) }, #define USERSW 38 - { "user", SASLminc(-4) }, + { "user", SASLminc(4) }, #define SNDATTACHSW 39 { "attach file", 6 }, #define SNDATTACHFORMAT 40 { "attachformat", 7 }, +#define PORTSW 41 + { "port server-port-name/number", 4 }, { NULL, 0 } }; @@ -1227,6 +1229,7 @@ sendit (char *sp, char **arg, char *file, int pushed) case SERVSW: case SASLMECHSW: case USERSW: + case PORTSW: vec[vecp++] = --cp; if (!(cp = *argp++) || *cp == '-') { advise (NULL, "missing argument to %s", argp[-2]);