[Git][NTPsec/ntpsec][master] Necessary followup on previous commit.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Aug 27 20:30:01 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
6a0f2c68 by Eric S. Raymond at 2017-08-27T16:29:52-04:00
Necessary followup on previous commit.

If the path and ppspath members don't exist, we can't set them.

- - - - -


1 changed file:

- ntpd/ntp_config.c


Changes:

=====================================
ntpd/ntp_config.c
=====================================
--- a/ntpd/ntp_config.c
+++ b/ntpd/ntp_config.c
@@ -713,6 +713,7 @@ create_peer_node(
 			}
 			break;
 
+#ifdef REFCLOCK
 		case T_Path:
 			my_node->ctl.path = estrdup(option->value.s);
 			break;
@@ -721,7 +722,6 @@ create_peer_node(
 			my_node->ctl.ppspath = estrdup(option->value.s);
 			break;
 
-#ifdef REFCLOCK
 		case T_Baud:
 			my_node->ctl.baud = option->value.u;
 			break;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6a0f2c68212c1d7303a8713962d594d910cec475

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6a0f2c68212c1d7303a8713962d594d910cec475
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170827/180bcabd/attachment.html>


More information about the vc mailing list