aboutsummaryrefslogtreecommitdiff
path: root/ntpd/refclock_jjy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_jjy.c')
-rw-r--r--ntpd/refclock_jjy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpd/refclock_jjy.c b/ntpd/refclock_jjy.c
index 0b554fac6674..c4e1697bfdf7 100644
--- a/ntpd/refclock_jjy.c
+++ b/ntpd/refclock_jjy.c
@@ -532,7 +532,7 @@ jjy_start ( int unit, struct peer *peer )
}
/* Open the device */
- fd = refclock_open ( sDeviceName, up->linespeed, up->linediscipline ) ;
+ fd = refclock_open ( &peer->srcadr, sDeviceName, up->linespeed, up->linediscipline ) ;
if ( fd <= 0 ) {
free ( (void*) up ) ;
return RC_START_ERROR ;