~ubuntu-branches/ubuntu/vivid/rpcbind/vivid

« back to all changes in this revision

Viewing changes to src/rpcinfo.c

  • Committer: Steve Langasek
  • Date: 2011-10-17 18:56:40 UTC
  • Revision ID: steve.langasek@canonical.com-20111017185640-o4znlqhozm5vsuue
also handle /var/run/rpcbind.sock

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
#define MAX_VERS        ((u_long)4294967295UL)
76
76
#define UNKNOWN         "unknown"
77
77
 
 
78
/* Bypass the libtirpc definition, because we know that /var/run is a compat
 
79
 * symlink to /run. */
 
80
#ifdef _PATH_RPCBINDSOCK
 
81
#undef _PATH_RPCBINDSOCK
 
82
#endif
 
83
#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
 
84
 
78
85
/*
79
86
 * Functions to be performed.
80
87
 */