[patch] ldattach ignores -t for msts line discipline

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] ldattach ignores -t for msts line discipline

Maurice Janssen-2
Hi,

The -t option for ldattach doesn't seem to work when using an msts
time receiver.  The patch below fixes this.  I guess this part was
forgotten when msts support was added in r1.4.

Maurice


Index: ldattach.c
===================================================================
RCS file: /cvs/src/sbin/ldattach/ldattach.c,v
retrieving revision 1.14
diff -u -p -u -r1.14 ldattach.c
--- ldattach.c 31 Oct 2009 02:53:11 -0000 1.14
+++ ldattach.c 2 Aug 2014 19:03:04 -0000
@@ -272,6 +272,7 @@ main(int argc, char *argv[])
  /* line discpline specific setup */
  switch (ldisc) {
  case NMEADISC:
+ case MSTSDISC:
  case ENDRUNDISC:
  if (ioctl(fd, TIOCSTSTAMP, &tstamps) < 0) {
  warnx("TIOCSTSTAMP");


Reply | Threaded
Open this post in threaded view
|

Re: [patch] ldattach ignores -t for msts line discipline

Philip Guenther-2
On Thu, Aug 7, 2014 at 1:07 PM, Maurice Janssen <[hidden email]> wrote:
>
> The -t option for ldattach doesn't seem to work when using an msts
> time receiver.  The patch below fixes this.  I guess this part was
> forgotten when msts support was added in r1.4.
>

Committed.

Philip Guenther
Reply | Threaded
Open this post in threaded view
|

Re: [patch] ldattach ignores -t for msts line discipline

Maurice Janssen-2
On 08/10/14 04:10, Philip Guenther wrote:
> On Thu, Aug 7, 2014 at 1:07 PM, Maurice Janssen <[hidden email]> wrote:
>>
>> The -t option for ldattach doesn't seem to work when using an msts
>> time receiver.  The patch below fixes this.  I guess this part was
>> forgotten when msts support was added in r1.4.
>>
>
> Committed.

Thanks.