[Nfd-dev] NFDC Register

Ivan Yeo ivanyeo at CS.UCLA.EDU
Tue Jan 27 21:12:11 PST 2015


Hi Alex,

The exact command that I used is: nfdc register /ndn/ tcp4://spurs.cs.ucla.edu/

This has the trailing slash '/' and does not work on my system. However, if I remove the trailing slash '/', it all works fine. I am not too sure if this is the same test case that Junxiao pointed out that is failing. It's not too much of an issue right now. Do let me know if you'd like me to file a bug report Alex.

Cheers,
Ivan

----- Original Message -----
From: "Alex Afanasyev" <afanasev at CS.UCLA.EDU>
To: "Junxiao Shi" <shijunxiao at email.arizona.edu>
Cc: "<nfd-dev at lists.cs.ucla.edu>" <nfd-dev at lists.cs.ucla.edu>
Sent: Tuesday, January 27, 2015 9:10:26 AM
Subject: Re: [Nfd-dev] NFDC Register


I cannot reproduce this problem on my macbook. 


Ivan, can you show us the exact command that resulted in the error? 


I tried 


nfdc register /ndn/ tcp4://spurs.cs.ucla.edu/ 


and 


nfdc register /ndn udp://spurs.cs.ucla.edu/ 


Both succeeded, as expected 


— 
Alex 






On Jan 27, 2015, at 7:41 AM, Junxiao Shi < shijunxiao at email.arizona.edu > wrote: 



Hi Lan 

There's already a test case for trailing slash: 
addTest("udp4:// 192.0.2.4:6363/ ", true, "udp4:// 192.0.2.4:6363 "); 
But there's no test case with DNS resolution + trailing slash. 

Please report a bug on Redmine. 

Yours, Junxiao 

On Jan 27, 2015 8:35 AM, "Lan Wang (lanwang)" < lanwang at memphis.edu > wrote: 
> 
> Maybe the function that canonizes faceUri needs to remove the trailing /? 
> 
> Lan 
> 
> On Jan 27, 2015, at 4:26 AM, Ivan Yeo < ivanyeo at CS.UCLA.EDU > wrote: 
> 
> > Hi all, 
> > 
> > Thanks for all the help and replies. I finally got it figured out. I left the trailing slash '/' at the end of the command and it cause both an error on this Mac OS X Yosemite 10.10 that I'm running and on the Android as well. Nonetheless, when I removed it, all was fine. I have since been able to use nfdc to append a RIB entry. 
> > 
> > The command that works for me now is: nfdc register /ndn tcp4:// spurs.cs.ucla.edu 
> > 
> > Cheers, 
> > Ivan 

_______________________________________________
Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev




More information about the Nfd-dev mailing list