diff options
author | Steve Dickson <steved@redhat.com> | 2010-03-03 14:40:04 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-03-16 11:11:23 -0400 |
commit | 8ccda1a55d5d0dce7b7336284fa40d95f195178b (patch) | |
tree | 7813275ab45b94a9a7378f0c3144cbef46d5dba4 /tapset/rpc.stp | |
parent | 7efb5a844990aa530c22cbb27bf2de9eec5ee133 (diff) | |
download | systemtap-steved-8ccda1a55d5d0dce7b7336284fa40d95f195178b.tar.gz systemtap-steved-8ccda1a55d5d0dce7b7336284fa40d95f195178b.tar.xz systemtap-steved-8ccda1a55d5d0dce7b7336284fa40d95f195178b.zip |
Revert "Backport recent changes to RHEL5 (U5)"
This commit causes the 2.6.33 probes to break
This reverts commit 3ca4e3f2f5a7a615d0aed00a242f4e30864deaa8.
Diffstat (limited to 'tapset/rpc.stp')
-rw-r--r-- | tapset/rpc.stp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tapset/rpc.stp b/tapset/rpc.stp index d8f2fadc..3e65d0ea 100644 --- a/tapset/rpc.stp +++ b/tapset/rpc.stp @@ -996,12 +996,7 @@ function addr_from_rqst_str:string(_rqstp:long) unsigned char *bytes; if (rqstp) { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) - if (rqstp->rq_addr.ss_family == AF_INET) -#else - if (rqstp->rq_addr.sin_family == AF_INET) -#endif - { + if (rqstp->rq_addr.ss_family == AF_INET) { addr = (struct sockaddr_in *) &rqstp->rq_addr; bytes = (unsigned char *)&addr->sin_addr.s_addr; |